Multiple Choice
Which statement allows you to properly check the char variable code to determine whether it is equal to a "C" and then output "This is a check" and then advance to a new line?
A) if code is equal to C
Cout << "This is a check\n";
B) if (code = "C")
Cout << "This is a check" << endl;
C) if (code == 'C')
Cout << "This is a check\n";
D) if (code == C)
Cout << "This is a check" << endl;
Correct Answer:

Verified
Correct Answer:
Verified
Q26: You should be careful when using the
Q32: Without this statement appearing in a switch
Q33: If you intend to place a block
Q35: x <= (y * 2)<br>A) 3, 4,
Q37: After execution of the following code,
Q39: What will the following program display?
Q40: Given the following code segment, what is
Q41: What is the value of the following
Q44: Which of the following expressions will determine
Q52: Both of the following if statements perform