C Programming What will be the output of the following program?#include#define prod(a,b) a*bvoid main(){ int x=3,y=4; printf("%d", prod(x+2,y-1));} None of these 11 15 10 12 None of these 11 15 10 12 ANSWER DOWNLOAD EXAMIANS APP
C Programming What's wrong in the following statement, provided k is a variable of type int?for(k = 2, k <=12, k++) The commas should be semicolons. There should be a semicolon at the end of the statement. The increment should always be ++k . The variable k can’t be initialized. The variable must always be the letter i when using a for loop. The commas should be semicolons. There should be a semicolon at the end of the statement. The increment should always be ++k . The variable k can’t be initialized. The variable must always be the letter i when using a for loop. ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following comments about the ++ operator are correct? It is a unary operator It associates from the right The operand can come before or after the operator It cannot be applied to an expression All of these It is a unary operator It associates from the right The operand can come before or after the operator It cannot be applied to an expression All of these ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.void main(){ int i=10; /* assume address of i is 0x1234ABCD */ int *ip=&i; int **ipp=&&i; printf("%x,%x,%x", &i, ip, *ipp); } 0x1234ABCD, 0x1234ABCD, 10 Syntax error 0x1234ABCD, 0x1234ABCD, 0x1234ABCD 0x1234ABCD, 10, 10 Runtime error 0x1234ABCD, 0x1234ABCD, 10 Syntax error 0x1234ABCD, 0x1234ABCD, 0x1234ABCD 0x1234ABCD, 10, 10 Runtime error ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:#define clrscr() 100void main(){ clrscr(); printf("%d", clrscr());} 1 Error 100 1 Error 100 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char not; not = !2; printf("%d", not);} 2 None of These Garbage Value 0 2 None of These Garbage Value 0 ANSWER DOWNLOAD EXAMIANS APP