Question:What will be output when you will execute following c code?
#include<stdio.h>
void main(){
     int movie=1;
     switch(movie<<2+movie){
        default:printf("3 Idiots");
        case 4: printf(" Ghajini");
        case 5: printf(" Krrish");
        case 8: printf(" Race");
     } 
}
Choose all that apply: 

A 3 Idiots Ghajini Krrish Race 

B Race 

C Krrish 

D Ghajini Krrish Race 

E Compilation error 

+ Answer
+ Explanation
+ Report
Total Preview: 2674

Copyright © 2024. Powered by Intellect Software Ltd