Saved Bookmarks
| 1. |
4. Explain the switch statement with an example. |
|
Answer» ch statement in C tests the value of a variable and compares it with multiple cases. Once the case match is found, a block of statements associated with that particular case is EXECUTED. ... If a case match is NOT found, then the DEFAULT statement is executed, and the CONTROL goes out of the switch block. If this helps you then PLEASE mark me as BRAINLIEST. |
|