Which of these selection statements test only for equality?
A. if
B. switch
C. if & switch
D. None of the mentioned
Answer:A
Which of these selection statements test only for equality?
A. if B. switch C. if & switch D. None of the mentioned
Explanation: switch statements checks for equality between the controlling variable and its constant cases.