Multiple Choice
What is the output of the following code? char lastInitial = 'A';
Switch (lastInitial)
{
Case 'A':
Cout << "section 1" << endl;
Break;
Case 'B':
Cout << "section 2" << endl;
Break;
Case 'C':
Cout << "section 3" << endl;
Break;
Case 'D':
Cout << "section 4" << endl;
Break;
Default:
Cout << "section 5" << endl;
}
A) section 1
B) section 2
C) section 3
D) section 5
Correct Answer:

Verified
Correct Answer:
Verified
Q2: A(n)_ structure does not require the evaluation
Q3: What is the output of the
Q8: The conditional operator ?: takes _ arguments.<br>A)
Q8: In a _ control structure, the computer
Q10: What is the output of the
Q11: What is the output of the following
Q23: The expression (x >= 0 && x
Q24: A control structure alters the normal sequential
Q29: Which of the following operators has the
Q34: For a program to use the assert