Computer Science, asked by ishanikapoor217, 9 days ago

What is switch statement??

Answers

Answered by VivaciousDork
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 firdous41
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.

Hope That Helps

Similar questions