Vidyalelo
Computer Science · Q443

Object Oriented Programming Using C++

Engineering and GATE · Computer Science · question 443

Q443

The main difference in operation between an 'if statement and a 'while' statement is

A.
the 'while' loop body is executed
B.
the body of the 'while' statement may be executed many times, the body of the 'if statements only once
Answer
C.
the conditional expression following the keyboard is evaluated differently
D.
All of the above
E.
None of the above

Answer: Option B

Solution

Answer: Option B
No explanation is given for this question Let's Discuss on Board