. main(),

main .

( ; ).

main() - .

:

#include

/* */

/* ( ) */ int a = 7; int b; /* 0 */

/* */ f1(){....} f2(){....}

/* () */ void main(){ ... }

:

#include

int f1(int x, int y){ return (x + y*2); }

int f2(int x){ int z;

z = x+7; return 2*z; }

void main(){ /* */ int a, b, c;

/* */ a = 5; b = 6;

c = f1(a, b+3); b = f1(1, 2); a = f2(c);

printf("A %d B %d C %d\n", a, b, c); }

:

A 60 B 5 C 23




- -  - -  - -