Saved Bookmarks
| 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. |
|