Computer Science, asked by priyaraipur99, 5 months ago

write about switch statement write its general format (syntax) of it​

Answers

Answered by meghjaiswal29
0

Answer:

Explanation:

general syntax of how switch-case is implemented in a 'C' program is as follows: switch( expression ) { case value-1: Block-1; Break; case value-2: Block-2; Break; case value-n: Block-n; Break; default: Block-1; Break; } Statement-x; ... A block is nothing but multiple statements which are grouped for a particular case

Answered by rajjanu18121982
0

Answer:

I Hope it helps you.......

Explanation:

A general syntax of how switch-case is implemented in a 'C' program is as follows: switch( expression ) { case value-1: Block-1; Break; case value-2: Block-2; Break; case value-n: Block-n; Break; default: Block-1; Break; } Statement-x; ... A block is nothing but multiple statements which are grouped for a particular case.

Please like and follow me .......

Please my dear friends......

Similar questions