MCQ
Which of the following is compiled error free ?
  • A
    for(;;)\{int i=7\};
  • B
    while (1) $\{$ int $i =7\} ;$
  • C
    while (True) $\{$ int $=7\} ;$
  • All of these

Answer

Correct option: D.
All of these
D

Need a full question paper?

Generate a complete, print-ready paper with questions like this in minutes — across 16+ boards, with answer keys.

Start Generating Free