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;
}
}
#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