English, asked by ishanikapoor217, 3 months ago

what is the switch statement?​

Answers

Answered by skadamseth2007
4

Answer:

Switch statement in C tests the value of a variable and compares it with multiple cases. ... Each case in a block of a switch has a different name/number which is referred to as an identifier. The value provided by the user is compared with all the cases inside the switch block until the match is found.

Answered by ItzGorgeousQueen143
4

Answer:

In computer programming languages, a 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