Switch case 3 : Multiple Choice Questions in C Programming

January 26, 2025 No Comments » Hits : 289





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 :
  1. Variables are not allowed in Case Labels
  2. Default is absent
  3. No continue statement in Statement
  4. All Cases in switch are not unique



Explanation :
  1. All Cases in the Switch case should be unique
  2. Variables are not allowed
  3. Click Here to Learn More

Switch Case MCQ Select :



Incoming search terms: