C Programming Determine Output:#define prod(a,b) a*bvoid main(){ int x=3, y=4; printf("%d", prod(x+2, y-1));} 12 11 10 15 12 11 10 15 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 = 4, c = 8 a = 3, c = 8 b = 4, c = 6 b = 3, c = 6 a = 4, c = 6 a = 4, c = 8 a = 3, c = 8 b = 4, c = 6 ANSWER DOWNLOAD EXAMIANS APP
C Programming Consider the following type definition.typedef char x[10];x myArray[5];What will sizeof(myArray) be ? (Assume one character occupies 1 byte) 50 30 15 None of these 10 50 30 15 None of these 10 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the output of the following statements?for(i=10; i++; i<15) printf("%d ", i); 9 10 11 12 13 None of these Infinite loop 10 11 12 13 14 15 10 11 12 13 14 9 10 11 12 13 None of these Infinite loop 10 11 12 13 14 15 10 11 12 13 14 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char far *farther, *farthest; printf("%d..%d", sizeof(farther), sizeof(farthest));} 2..4 4..4 4..2 2..2 2..4 4..4 4..2 2..2 ANSWER DOWNLOAD EXAMIANS APP
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 RED WHITE BLUE ERROR RED ERROR ERROR RED RED WHITE BLUE RED WHITE BLUE ERROR RED ERROR ERROR ANSWER DOWNLOAD EXAMIANS APP