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 RED ERROR RED WHITE BLUE ERROR ERROR RED WHITE BLUE RED RED ERROR RED WHITE BLUE ERROR ERROR RED WHITE BLUE ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.void main(){ int array[10]; int *i = &array[2], *j = &array[5]; int diff = j-i; printf("%d", diff);} Garbage value 3 6 Error Garbage value 3 6 Error ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of given program?#includevoid main(){ int i=1, j=-1; if((printf("%d", i)) < (printf("%d", j))) printf("%d", i); else printf("%d", j);} complier error -1 1 -1 -1 1 1 -1 1 complier error -1 1 -1 -1 1 1 -1 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming The default parameter passing mechanism is call by value call by reference call by value result None of these. call by value call by reference call by value result None of these. ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be output if you will compile and execute the following c code?#include#define max 5void main(){ int i = 0; i = max++; printf("%d", i++);} 6 7 0 5 Compiler Error 6 7 0 5 Compiler Error ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following piece of code?for(i = 0; i<10; i++);printf("%d", i); Syntax error 0 0123456789 10 Infinite loop Syntax error 0 0123456789 10 Infinite loop ANSWER DOWNLOAD EXAMIANS APP