MCQ
Which of the following is correct syntax of do...while loop ?
  • A
    do (expl; exp2; exp3) {statements}
  • B
    do (exp) {statements}
  • do {statements} (exp);
  • D
    do {statements} (expl; exp2; exp3)

Answer

Correct option: C.
do {statements} (exp);
C

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