Question:What will be output when you will execute following c code?
#include<stdio.h>
void main(){
     char *str="cquestionbank.blogspot.com";
     int a=2;
     switch('A'){
        case 97:
             switch(97){
                 default: str+=1;
             }
        case 65:
             switch(97){
                 case 'A':str+=2;
                     case 'a':str+=4;
         }
        default:
         for(;a;a--)
             str+=8;
     }
     printf("%s",str); 
}
Choose all that apply: 

A cquestionbank.blogspot.com 

B blogspot.com 

C com 

D Compilation error 

E None 

+ Answer
+ Explanation
+ Report
Total Preview: 800

Copyright © 2024. Powered by Intellect Software Ltd