# Is there an error? Part 2

Computer Science Level pending

The following C/C++ code is meant to output the first 53211 positive perfect squares.

What will happen when the code is executed?

 1 2 3 4 5 6 7 8 #include int main() { int /*/* This is a regular 32-bit integer. */ n=1; for(int *i=&n;*i<=53211;++*i) printf("%d\n",*i**i); return 0; } 

Note: You are not allowed to compile and run the code!

Note: The syntax highlighting is off on purpose!

×