1 2 3 4 5 6 7 8 9 10 11 12 13
//prints a sequence of squares of numbers and use operator *=// #define N 100 #define A 2 main() { int a; a=A; while( a<N) { printf("%d \n",a); a*=a; } }
1 2 3 4 5
2 4 16 Exited: ExitFailure 4