C Programming Determine Output:#define prod(a,b) a*bvoid main(){ int x=3, y=4; printf("%d", prod(x+2, y-1));} 15 12 10 11 15 12 10 11 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the final value of the digit?void main(){ int digit = 0; for( ; digit <= 9; ) digit++; digit *= 2; --digit;} 20 17 16 19 -1 20 17 16 19 -1 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);} 65474, 65488 65474, 65476 65480, 65488 65480, 65496 None of these 65474, 65488 65474, 65476 65480, 65488 65480, 65496 None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following is a complete function? None of these void funct(x) { printf(“Hello"); } void funct(int) { printf(“Hello"); } int funct(int x) { return x=x+1; } int funct(); None of these void funct(x) { printf(“Hello"); } void funct(int) { printf(“Hello"); } int funct(int x) { return x=x+1; } int funct(); ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ static int i=5; if(--i){ main(); printf("%d ", i); }} None of These 5 4 3 2 1 Infinite Loop 0 0 0 0 None of These 5 4 3 2 1 Infinite Loop 0 0 0 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be output after executing following code?#include# define a 10void main(){ printf("%d..", a); foo(); printf("%d", a);}void foo(){ #undef a #define a 50} Error 0 10..50 10..10 Error 0 10..50 10..10 ANSWER DOWNLOAD EXAMIANS APP