Question:What will be output when you will execute following c code?
#include<stdio.h>
void main(){
     int check=2;
     switch(check){
        case 1: printf("D.W.Steyn");
        case 2: printf(" M.G.Johnson");
        case 3: printf(" Mohammad Asif");
        default: printf(" M.Muralidaran");
     }
}
Choose all that apply: 

A M.G.Johnson 

B M.Muralidaran 

C M.G.Johnson Mohammad Asif M.Muralidaran 

D Compilation error 

E None 

+ Answer
+ Explanation
+ Report
Total Preview: 1509

Copyright © 2024. Powered by Intellect Software Ltd