Question:What will be output when you will execute following c code?
#include<stdio.h>
void main(){
     int const X=0;
     switch(5/4/3){
        case X:  printf("Clinton");
                  break;
        case X+1:printf("Gandhi");
                  break;
        case X+2:printf("Gates");
                  break;
        default: printf("Brown");
     } 
}
Choose all that apply: 

A Clinton 

B Gandhi 

C Gates 

D Brown 

E Compilation error 

+ Answer
+ Explanation
+ Report
Total Preview: 1217

Copyright © 2024. Powered by Intellect Software Ltd