My brain can't comprehend this

What will be the output of the following program?

1
2
for(int i = 0; i < 5; i = i++)
    print(i); //print out the result

Note: This problem is language agnostic, meaning that it is language independent.

×

Problem Loading...

Note Loading...

Set Loading...