switching case in c language
Answers
Answered by
0
Answer:
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;
Similar questions
Math,
2 months ago
English,
2 months ago
Social Sciences,
2 months ago
English,
5 months ago
Social Sciences,
5 months ago
India Languages,
11 months ago
India Languages,
11 months ago