C Programming What will be the following code's output if choice = 'R'?switch(choice){ case 'R' : printf("RED"); case 'W' : printf("WHITE"); case 'B' : printf("BLUE"); default : printf("ERROR");break;} RED WHITE BLUE ERROR RED ERROR RED RED WHITE BLUE ERROR RED WHITE BLUE ERROR RED ERROR RED RED WHITE BLUE ERROR ANSWER DOWNLOAD EXAMIANS APP
C Programming short testarray[4][3] = { {1}, {2,3}, {4,5,6}};printf("%d", sizeof(testarray));Assuming a short is two bytes long, what will be printed by the above code? It will not compile because not enough initializers are given 12 24 6 7 It will not compile because not enough initializers are given 12 24 6 7 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output given program?#includevoid main(){int i = -10;for(;i;printf("%d ", i++));} Complier error -10 to 0 -10 to -1 -10 to infinite Complier error -10 to 0 -10 to -1 -10 to infinite ANSWER DOWNLOAD EXAMIANS APP
C Programming The address operator &, cannot act on R-values Arithmetic expressions Members of a structure Local variables Both of the above R-values Arithmetic expressions Members of a structure Local variables Both of the above ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program ?#includevoid main(){ printf(5+"Good Morningn");} Good None of these M Morning Good Morning Good None of these M Morning Good Morning ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following code?void main(){ int a[10]; printf("%d %d", a[-1], a[12]);} Garbage vlaue Garbage Value 0 Garbage Value Code will not compile 0 0 Garbage value 0 Garbage vlaue Garbage Value 0 Garbage Value Code will not compile 0 0 Garbage value 0 ANSWER DOWNLOAD EXAMIANS APP