C Programming The output of the following program is:#define f(g,g2) g##g2void main(){ int var12=100; printf("%d", f(var,12));} 10012 100 Runtime error Syntax error g##g2 10012 100 Runtime error Syntax error g##g2 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=0, j=0; if(i && j++) printf("%d..%d", i++, j); printf("%d..%d", i, j);} 1..0 0..0 0..1 1..1 1..0 0..0 0..1 1..1 ANSWER DOWNLOAD EXAMIANS APP
C Programming C preprocessor Takes care of conditional compilation Takes care of include files Takes care of macros All of these Acts before compilation Takes care of conditional compilation Takes care of include files Takes care of macros All of these Acts before compilation ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=1; while(i<=5) { printf("%d", i); if(i>2) goto here; i++; }}fun(){ here: printf("PP");} 12PP345 Compiler Error None of These 12PP 12PP345 Compiler Error None of These 12PP ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following function is used to find the first occurrence of a given string in another string? strchr() strrchr() None of these strstr() strnset() strchr() strrchr() None of these strstr() strnset() ANSWER DOWNLOAD EXAMIANS APP
C Programming #includevoid main(){ int *ptr, a=10; ptr = &a; *ptr += 1; printf("%d, %d", *ptr, a);} 10, 10 10, 11 11, 11 11, 10 10, 10 10, 11 11, 11 11, 10 ANSWER DOWNLOAD EXAMIANS APP