what is purpose of switch statement in a program.
Answers
Answered by
3
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.
Answered by
8
Switch statement is a selection statement that allows for the transfer of program control to a statement list with a switch label that corresponds to the value of the switch expression.
Similar questions
Chemistry,
7 months ago
Math,
7 months ago
Environmental Sciences,
1 year ago
Chemistry,
1 year ago
English,
1 year ago