2010-06-13 07:58:52 -04:00
|
|
|
#include <stdio.h>
|
|
|
|
|
2009-02-19 06:00:51 -05:00
|
|
|
int myfunc(int x)
|
|
|
|
{
|
|
|
|
return x * x;
|
|
|
|
}
|
|
|
|
|
2009-03-15 05:09:38 -04:00
|
|
|
printf("%d\n", myfunc(3));
|
|
|
|
printf("%d\n", myfunc(4));
|
2009-02-19 06:00:51 -05:00
|
|
|
|
2009-03-08 20:43:31 -04:00
|
|
|
void vfunc(int a)
|
|
|
|
{
|
|
|
|
printf("a=%d\n", a);
|
|
|
|
}
|
|
|
|
|
|
|
|
vfunc(1234);
|
|
|
|
|
2009-03-09 22:04:19 -04:00
|
|
|
void qfunc()
|
|
|
|
{
|
|
|
|
printf("qfunc()\n");
|
|
|
|
}
|
|
|
|
|
|
|
|
qfunc();
|
2010-07-27 12:20:09 -04:00
|
|
|
|
|
|
|
void main() {}
|