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 ERROR RED WHITE BLUE RED WHITE BLUE ERROR ERROR RED RED ERROR RED WHITE BLUE RED WHITE BLUE ERROR ERROR RED ANSWER DOWNLOAD EXAMIANS APP
C Programming Any C program Need not contain any function. Must contain at least one function. Needs input data. None of these Need not contain any function. Must contain at least one function. Needs input data. None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program if the array begins at 65472 and each integer occupies 2 bytes?#includevoid main(){ int a[3][4] = {1, 2, 3, 4, 4, 3, 2, 1, 7, 8, 9, 0}; printf("%u, %u", a+1, &a+1);} None of these 65474, 65488 65474, 65476 65480, 65496 65480, 65488 None of these 65474, 65488 65474, 65476 65480, 65496 65480, 65488 ANSWER DOWNLOAD EXAMIANS APP
C Programming Consider the following program fragment, and choose the correct onevoid main(){ int a, b = 2, c; a = 2 * (b++); c = 2 * (++b);} b = 3, c = 6 a = 4, c = 6 a = 3, c = 8 a = 4, c = 8 b = 4, c = 6 b = 3, c = 6 a = 4, c = 6 a = 3, c = 8 a = 4, c = 8 b = 4, c = 6 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following statements should be used to obtain a remainder after dividing 3.14 by 2.1 ? Remainder cannot be obtain in floating point division. rem = modf(3.14, 2.1); rem = 3.14 % 2.1; rem = fmod(3.14, 2.1); Remainder cannot be obtain in floating point division. rem = modf(3.14, 2.1); rem = 3.14 % 2.1; rem = fmod(3.14, 2.1); ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following statements are true after execution of the program.void main(){ int a[10], i, *p; a[0] = 1; a[1] = 2; p = a; (*p)++;} Compilation error a[1] = 2 a[0] = 3 a[0] = 2 a[1] = 3 Compilation error a[1] = 2 a[0] = 3 a[0] = 2 a[1] = 3 ANSWER DOWNLOAD EXAMIANS APP