Wednesday, February 11, 2015

C Question and Anser :

What will be output when you will execute following c code?
#include<stdio.h>
void main(){
switch(*(1+"AB" "CD"+1)){
case 'A':printf("A is here");
break;
case 'B':printf("B is here");
break;
case 'C':printf("C is here");
break;
case 'D':printf("D is here");
break;
}
}

No comments:

Post a Comment