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

Answer

Correct option: D.
All of these
(D) All of these

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