1.

Give the purpose of the switch statement.

Answer»

The ‘switch’ statement is used in C++ for testing whether a variable is equal to any one of a set of values.



Discussion

No Comment Found