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[3][4]){} None of these void fun(int *p[][4]){} void fun(int p[][4]){} void fun(int *p[4]){} void fun(int *p[3][4]){} None of these void fun(int *p[][4]){} void fun(int p[][4]){} ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the given program?#includevoid main(){ int value=0; if(value) printf("well done "); printf("examveda");} complier error None of these well done examians examians complier error None of these well done examians examians 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, 0x1234ABCD 0x1234ABCD, 10, 10 Syntax error Runtime error 0x1234ABCD, 0x1234ABCD, 10 0x1234ABCD, 0x1234ABCD, 0x1234ABCD 0x1234ABCD, 10, 10 Syntax error Runtime error 0x1234ABCD, 0x1234ABCD, 10 ANSWER DOWNLOAD EXAMIANS APP
C Programming The output of the following program is:#define f(g,g2) g##g2void main(){ int var12=100; printf("%d", f(var,12));} 100 10012 Syntax error g##g2 Runtime error 100 10012 Syntax error g##g2 Runtime error ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the value of sum after the following program is executed?void main(){ int sum=1, index = 9; do{ index = index – 1; sum *= 2; }while( index > 9 );} 0.5 1 9 0.25 2 0.5 1 9 0.25 2 ANSWER DOWNLOAD EXAMIANS APP
C Programming Standard ANSI C recognizes ______ number of keywords? 32 40 30 24 36 32 40 30 24 36 ANSWER DOWNLOAD EXAMIANS APP