what is the purpose of switch statement in c++
Answers
Answered by
3
C++ switch statement. A switch statement allows a variable to be tested for equality against a list of values. Each value is called a case, and the variable being switched on is checked for each case.
Similar questions