In C++, what is the purpose of the 'if-else' statement?
A. Allows execution of different blocks of code based on a condition
B. Terminates the program
C. Executes the same block of code repeatedly
D. Skips the current iteration in a loop
Answer: Option A

Join The Discussion