Question 1
What is the use of the else if statement in C++?
It is used to create infinite loops
It allows checking multiple conditions
It closes a program
It is an invalid syntax
Question 2
Which of the following is NOT a decision-making statement in C++?
if
switch
while
else
Question 4
What does the switch statement evaluate?
A float expression
A string expression
An integral or enumeration expression
A boolean expression
There are 4 questions to complete.