Q34
In C++, what is the purpose of the 'if-else' statement?
A.
Allows execution of different blocks of code based on a condition
AnswerB.
Terminates the program
C.
Executes the same block of code repeatedly
D.
Skips the current iteration in a loop
Answer: Option A
Solution
Answer: Option A
No explanation is given for this question Let's Discuss on Board