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 Syntax error Runtime error 100 g##g2 10012 Syntax error Runtime error 100 g##g2 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following is the correct way of declaring a float pointer: *float ptr; None of these float *ptr; float ptr; *float ptr; None of these float *ptr; float ptr; ANSWER DOWNLOAD EXAMIANS APP
C Programming The library function used to find the last occurrence of a character in a string is strstr() strrchr() laststr() None of these strnstr() strstr() strrchr() laststr() None of these strnstr() ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output?main() { char *p; p = "Hello"; printf("%cn",*&*p); } None of these. Hello Some address will be printed H None of these. Hello Some address will be printed H ANSWER DOWNLOAD EXAMIANS APP
C Programming void main(){ int a=10, b; b = a++ + ++a; printf("%d %d %d %d", b, a++, a, ++a);}what will be the output when following code is executed? 22 13 14 14 12 10 11 13 22 11 11 11 22 14 12 13 22 12 12 13 22 13 14 14 12 10 11 13 22 11 11 11 22 14 12 13 22 12 12 13 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following is correct way to define the function fun() in the below program?#includevoid main(){ int a[3][4]; fun(a);} void fun(int *p[][4]){} void fun(int p[][4]){} None of these void fun(int *p[3][4]){} void fun(int *p[4]){} void fun(int *p[][4]){} void fun(int p[][4]){} None of these void fun(int *p[3][4]){} void fun(int *p[4]){} ANSWER DOWNLOAD EXAMIANS APP