Right Click to Search

Tuesday, January 26, 2025

Switch case 3 : Multiple Choice Questions in C Programming


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 :


Tags / Keywords : |

Stumble
Delicious
Technorati
Twitter
Facebook

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

 

Learn C Programming Copyright © 2010 LKart Theme is Designed by Lasantha, Free Blogger Templates