0
Which of the following statements about do-while loop in C program is/are correct?
P: In do-while loop, first the condition is evaluated and then the statements are executed.
Q: In do-while loop, firstly the statements inside loop body are executed and then the condition is evaluated.
R: The body of the do-while loop cannot contain a block of statements.
P: In do-while loop, first the condition is evaluated and then the statements are executed.
Q: In do-while loop, firstly the statements inside loop body are executed and then the condition is evaluated.
R: The body of the do-while loop cannot contain a block of statements.
- AOnly Q and R
- BOnly Q
- CP, Q and R
- DOnly P
Correct answer: B