1.

Which of these selection statements test only for equality?(a) if(b) switch(c) if & switch(d) none of the mentioned

Answer» Correct option is (b) switch

The explanation: Switch statements checks for equality between the controlling variable and its constant cases.


Discussion

No Comment Found

Related InterviewSolutions