Are you really good at C++ Programming?

Computer Science Level pending
 1 2 3 4 5 6 7 8 9 int main(){ for(int z=1;;){ if(z<=11) z+=z; else cout<<++z%4; break; } return 0; } 

$$\implies$$ Can you guess the output..?

×