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 WHITE BLUE ERROR RED ERROR RED WHITE BLUE ERROR RED RED WHITE BLUE ERROR RED ERROR RED WHITE BLUE ERROR ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:#include#define a 10void main(){ #define a 50 printf("%d", a);} 50 None of These Compiler Error 10 50 None of These Compiler Error 10 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program ?#includevoid main(){ int a[5] = {5, 1, 15, 20, 25}; int i, j, m; i = ++a[1]; j = a[1]++; m = a[i++]; printf("%d, %d, %d", i, j, m);} 3, 2, 15 1, 2, 5 2, 3, 20 2, 1, 15 3, 2, 15 1, 2, 5 2, 3, 20 2, 1, 15 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 Infinite loop 0123456789 0 10 Syntax error Infinite loop 0123456789 0 10 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following correctly accesses the seventh element stored in arr, an array with 100 elements? arr{6} arr[6] None of these arr{7} arr[7] arr{6} arr[6] None of these arr{7} arr[7] ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the given program?#includevoid main(){float num=5.6;switch(num){case 5:printf("5");case 6:printf("6");default : printf("0");break;}printf("%d", num);} 0 5.600000 6 5.600000 Complier error 5 5.600000 0 5.600000 6 5.600000 Complier error 5 5.600000 ANSWER DOWNLOAD EXAMIANS APP