We are developing the next version of CrazyEngineers. If you wish to receive latest updates and early access, click the link below.
C code output ?
Can anyone please explain me the output of this code
i -= i++;
I found it at :-
Interview Question for Software Engineer/Developer (Fresher) about CPuzzles « GeeksforGeeks Posted in: #Coffee Room
in while loop i variable get -1 values then it is true
next statment balance the value as i = -1
then print -1 value.
You are right its output is -1
Hey, Can you please explain in some steps...
output is -1
In the while loop, it becomes -1 then the changes do not affect it because the operations are -1 + 0.