Switch case : Multiple Choice Questions in C
Problem Statement 3 :
void main()
{
int choice = 1 ;
int a = 2;
switch(choice)
{
case 1 :
printf("\nC Programming is Very Funny Language");
break;
case 1 :
printf("\n3 Idiots is Funny Movie");
break;
case a :
printf("\nMy name is Pritesh A Taral");
break;
}
}
Options :
- Variables are not allowed in Case Labels
- Default is absent
- No continue statement in Statement
- All Cases in switch are not unique
Explanation :
- All Cases in the Switch case should be unique
- Variables are not allowed
- Click Here to Learn More
Switch Case MCQ Select :
0 Comments:
Post a Comment
Your Feedback :This is Growing Site and Your Feedback is important for Us to improve the Site performance & Quality of Content.Feel Free to contact and Please Provide Name & Contact Email