1. ## statement equivalents

i picked letter C for #10 and letter B for #11.... am i correct?

10. Which is the following statements is not equivalent to the other two (assuming that the loop bodies are the same)?
(A) for (i = 0; i < 10; i++) ...
(B) for (i = 0; i < 10; ++i) ...
(C) for (i = 0; i++ < 10; ) ...

11. Which is the following statements is not equivalent to the other two (assuming that the loop bodies are the same)?
(A) while (i < 10) {...}
(B) for (; i < 10;) {...}
(C) do {...} while (i < 10);

2. For #10 you were wrong unfortunately. The answer is B.
For #10 you were wrong again unfortunately. The answer is C.

3. FIXED

For #10 you were wrong unfortunately. The answer is B.
For #11 you were wrong again unfortunately. The answer is C.

4. I would say C for #11 if all three are valid loops.

>> (B) for (; i < 10 {...}

that doesn't seem valid. the answer is probably B

5. Originally posted by The Dog
I would say C for #11 if all three are valid loops.

>> (B) for (; i < 10 {...}

that doesn't seem valid. the answer is probably B
the automatic smiley faces messed it up. its supposed to be

Code:
```for (; i < 10; )
{ ... }```

6. then the answer would be C

7. The answer is C for both of them

8. I disagree, I say B for the first one.

9. Stop guessing and try writing some test code

10. You're right, it is C.