C Programming The output of the following program is:#define f(g,g2) g##g2void main(){ int var12=100; printf("%d", f(var,12));} g##g2 Syntax error 10012 Runtime error 100 g##g2 Syntax error 10012 Runtime error 100 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); } Runtime error 0x1234ABCD, 0x1234ABCD, 0x1234ABCD 0x1234ABCD, 0x1234ABCD, 10 0x1234ABCD, 10, 10 Syntax error Runtime error 0x1234ABCD, 0x1234ABCD, 0x1234ABCD 0x1234ABCD, 0x1234ABCD, 10 0x1234ABCD, 10, 10 Syntax error ANSWER DOWNLOAD EXAMIANS APP
C Programming A preprocessor command need not start on a new line need not start on the first column has # as the first character comes before the first executable statement need not start on a new line need not start on the first column has # as the first character comes before the first executable statement ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:void main(){ int const *p=5; printf("%d", ++(*p));} 6 5 Compiler Error Garbage Value 6 5 Compiler Error Garbage Value ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int c[] = {2.8,3.4,4,6.7,5}; int j, *p=c, *q=c; for(j=0;j<5;j++){ printf(" %d ", *c); ++q; } for(j=0;j<5;j++){ printf(" %d ", *p); ++p; }} 2.8 2.8 2.8 2.8 2.8 2.8 3.4 4 2 3 4 6 5 2 3 4 6 5 2 2 2 2 2 2 3 4 6 5 2.8 3.4 4 6.7 5 2.8 3.4 4 6.7 2.8 2.8 2.8 2.8 2.8 2.8 3.4 4 2 3 4 6 5 2 3 4 6 5 2 2 2 2 2 2 3 4 6 5 2.8 3.4 4 6.7 5 2.8 3.4 4 6.7 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following is not a correct variable type? real int float char double real int float char double ANSWER DOWNLOAD EXAMIANS APP