C Programming Determine Output:#define prod(a,b) a*bvoid main(){ int x=3, y=4; printf("%d", prod(x+2, y-1));} 15 11 10 12 15 11 10 12 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output given program?#includevoid main(){int i = -10;for(;i;printf("%d ", i++));} Complier error -10 to -1 -10 to infinite -10 to 0 Complier error -10 to -1 -10 to infinite -10 to 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the return value of the following statement if it is placed in C program? strcmp("ABC", "ABC"); 1 Compilation Error 0 33 -1 1 Compilation Error 0 33 -1 ANSWER DOWNLOAD EXAMIANS APP
C Programming A preprocessor command need not start on the first column comes before the first executable statement has # as the first character need not start on a new line need not start on the first column comes before the first executable statement has # as the first character need not start on a new line ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:void main(){ int const *p=5; printf("%d", ++(*p));} Compiler Error 6 5 Garbage Value Compiler Error 6 5 Garbage Value ANSWER DOWNLOAD EXAMIANS APP
C Programming What is right way to Initialize array? int n(6) = { 2, 4, 12, 5, 45, 5 }; int num[6] = { 2, 4, 12, 5, 45, 5 }; int n{6} = { 2, 4, 12 }; int n{} = { 2, 4, 12, 5, 45, 5 }; int n(6) = { 2, 4, 12, 5, 45, 5 }; int num[6] = { 2, 4, 12, 5, 45, 5 }; int n{6} = { 2, 4, 12 }; int n{} = { 2, 4, 12, 5, 45, 5 }; ANSWER DOWNLOAD EXAMIANS APP