explain the working of switch statement with an example
Answers
Answered by
3
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.
i hope it will help yuh dear
Similar questions