This topic contains 0 replies, has 0 voices, and was last updated by  EduGorilla 1 year, 11 months ago.

  • Author
    Posts
  • #726393 Reply
     EduGorilla 
    Keymaster
    Select Question Language :


    #include<stdio.h>
    int main()
    {int check=2;
    switch(check)

    { case 1: printf("ViratKohli");
    case 2: printf(" M. S. Dhoni");
    case 3: printf(" Suresh Raina");
    default: printf(" R. Ashwin"); }
    return 0; }}

    The output of the above program is

    Options :-

    1. ViratKohli
    2. M. S. Dhoni R. Ashwin
    3. M. S. Dhoni Suresh Raina R. Ashwin
    4. Compilation Error
    Post your Training /Course Enquiry
    Are You looking institutes / coaching center for
    • IIT-JEE, NEET, CAT
    • Bank PO, SSC, Railways
    • Study Abroad
    Select your Training / Study category
Reply To: #include<stdio.h>int main(){int check=2;switch(check){ case 1: printf("ViratKohli");….
Your information:




GET UPTO 50%    OFF!
Verify Yourself




Log in with your credentials

or    

Forgot your details?

Create Account