Multiple Choice
Consider the code segment below.
If (gender == 1)
{
If (age >= 65)
{
++seniorFemales;
}
}
This segment is equivalent to which of the following
A) if (gender == 1 || age >= 65) {
B) if (gender == 1 && age >= 65)
C) if (gender == 1 AND age >= 65)
D) if (gender == 1 OR age >= 65)
Correct Answer:

Verified
Correct Answer:
Verified
Q26: Which of the following statements is false<br>A)
Q27: Which of the following for-loop control headers
Q28: The initialization expression,condition and increment expression in
Q29: The do…while repetition statement tests the condition
Q30: Assuming a is a bool with a
Q32: The second operand of an && operator
Q33: The stacking and nesting rules must be
Q34: A case with no statements is called
Q35: Which of the following operators ensures that
Q36: A variable used as a counter should