1.

The switch statement is also called as?(a) choosing structure(b) selective structure(c) certain structure(d) bitwise structureThis question was posed to me in a national level competition.My question is from Statements in chapter Functions, Namespaces & Exceptions in C++ of C++

Answer»

The correct ANSWER is (b) SELECTIVE structure

The best EXPLANATION: The switch statement is used to choose the certain CODE to EXECUTE, So it is also called as selective structure.



Discussion

No Comment Found

Related InterviewSolutions