0
int i=0,j=0; { do i++; j++; } while (i=j);
find output and explain
3 Answers
+ 7
Error, not { do, but do {
+ 4
Your syntax is off. Also, it's an infinite loop.
+ 2
while (i=j)
it assign the value of i to the value of j
i think you want
while (i==j)