1 #include <stdio.h> 2 3 int main()4main() { 5 #if defined __NWCC__ 6 for (int i = 0; i < 5; ++i) { 7 puts("hello"); 8 } 9 int i = 3; 10 printf("%d\n", i); 11 12 int temp, j, k; 13 for (int temp = 0; temp < 3; ++temp) 14 for (int j = 1, k = 0; j < 6; ++j, k += 2) 15 if (j % 2) 16 do 17 printf("k=%d\n", k); 18 while (0); 19 else { 20 for (i = 0; i < 1; ++i) 21 printf("j*k=%d\n", j*k); 22 } 23 24 #else 25 puts("hello"); 26 puts("hello"); 27 puts("hello"); 28 puts("hello"); 29 puts("hello"); 30 puts("3"); 31 puts("k=0"); 32 puts("j*k=4"); 33 puts("k=4"); 34 puts("j*k=24"); 35 puts("k=8"); 36 puts("k=0"); 37 puts("j*k=4"); 38 puts("k=4"); 39 puts("j*k=24"); 40 puts("k=8"); 41 puts("k=0"); 42 puts("j*k=4"); 43 puts("k=4"); 44 puts("j*k=24"); 45 puts("k=8"); 46 #endif 47 return 0; 48 } 49 50