C Programming Determine Output:#define prod(a,b) a*bvoid main(){ int x=3, y=4; printf("%d", prod(x+2, y-1));} 10 12 15 11 10 12 15 11 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i = -1; +i; printf("i = %d, +i = %d", i, +i);} None of These i = -1, +i = -1 i = -1, +i = 1 i = 1, +i = 1 None of These i = -1, +i = -1 i = -1, +i = 1 i = 1, +i = 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char p[]="%dn"; p[1] = 'c'; printf(p, 65);} A c 65 Error A c 65 Error ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program code?main(){ static int var = 5; printf("%d ", var--); if(var) main();} 5 5 5 5 5 5 4 3 2 1 Compilation Error None of these Infinite Loop 5 5 5 5 5 5 4 3 2 1 Compilation Error None of these Infinite Loop ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output?main() { char *p; p = "Hello"; printf("%cn",*&*p); } Some address will be printed None of these. H Hello Some address will be printed None of these. H Hello ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following is a complete function? None of these int funct(); void funct(int) { printf(“Hello"); } void funct(x) { printf(“Hello"); } int funct(int x) { return x=x+1; } None of these int funct(); void funct(int) { printf(“Hello"); } void funct(x) { printf(“Hello"); } int funct(int x) { return x=x+1; } ANSWER DOWNLOAD EXAMIANS APP