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;} ERROR RED WHITE BLUE RED RED WHITE BLUE ERROR RED ERROR ERROR RED WHITE BLUE RED RED WHITE BLUE ERROR RED ERROR ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ static int var = 5; printf("%d ", var--); if(var) main();} 5 5 5 5 5 None of These 5 4 3 2 1 Infinite Loop 5 5 5 5 5 None of These 5 4 3 2 1 Infinite Loop ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program?#include#define prod(a,b) a*bvoid main(){ int x=3,y=4; printf("%d", prod(x+2,y-1));} 10 12 None of these 11 15 10 12 None of these 11 15 ANSWER DOWNLOAD EXAMIANS APP
C Programming What would be the output for the following Turbo C code?#includevoid main(){ int a[]={ 1, 2, 3, 4, 5 }, *p; p=a; ++*p; printf("%d ", *p); p += 2; printf("%d", *p);} 2 2 2 4 3 3 2 3 3 4 2 2 2 4 3 3 2 3 3 4 ANSWER DOWNLOAD EXAMIANS APP
C Programming The operator > and < are meaningful when used with pointers, if The pointers point to data of similar type. None of these. The pointers point to elements of the same array. The pointers point to structure of similar data type. The pointers point to data of similar type. None of these. The pointers point to elements of the same array. The pointers point to structure of similar data type. ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=i++, j=j++, k=k++; printf("%d %d %d", i, j, k);} 0 0 0 garbage values Error 1 1 1 0 0 0 garbage values Error 1 1 1 ANSWER DOWNLOAD EXAMIANS APP