What is switch statement??
Answers
Answered by
4
Switch 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. Each case in a block of a switch has a different name/number which is referred to as an identifier...
Have a great day Ishani ❤️✌️
Answered by
5
Explanation:
switch statement is a type of selection control mechanism used to allow the value of a variable or expression to change the control flow of program execution via search and map.
Similar questions