1 #include <stdlib.h> 2 #include <stdio.h> 3 4 5 int main(argc, argv) 6 int argc; 7 char **argv; 8 9 { 10 int x, y; 11 x = 100; 12 y = 250; 13 testFunctionName(x + y); 14 15 printf("The value of x is %d. \n", x); 16 17 if (x > y) { 18 printf("X is bigger."); 19 } else { 20 printf("Y is bigger."); 21 } 22 23 int z = 0; 24 int i = 0; 25 for (; i < y; i++) { 26 z = -z + 2*i; 27 } 28 29 printf("The value of z is %d.\n", z); 30 31 exit(0); 32 33 } 34 35 int testFunctionName(a) 36 int a; 37 38 { 39 int b; 40 b = a << 2; 41 printf("%i times 4 = %i\n", a, b); 42 return b; 43 }