C Programming Find the output of the following program.void main(){ char *msg = "hi"; printf(msg);} Error h Garbage Value hi followed by garbage value hi Error h Garbage Value hi followed by garbage value hi 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]){} 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]){} void fun(int *p[4]){} ANSWER DOWNLOAD EXAMIANS APP
C Programming What is right way to Initialize array? int num[6] = { 2, 4, 12, 5, 45, 5 }; int n{} = { 2, 4, 12, 5, 45, 5 }; int n{6} = { 2, 4, 12 }; int n(6) = { 2, 4, 12, 5, 45, 5 }; int num[6] = { 2, 4, 12, 5, 45, 5 }; int n{} = { 2, 4, 12, 5, 45, 5 }; int n{6} = { 2, 4, 12 }; int n(6) = { 2, 4, 12, 5, 45, 5 }; ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:#include#define clrscr() 100void main(){ clrscr(); printf("%dn", clrscr());} 100 1 0 Error 100 1 0 Error ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output of the following program code.#includevoid main(){ int a, b=7; a = b<4 ? b<<1 : ++b>4 ? 7>>1 : a; printf("%d %d", a, b);} 8 3 None of these 3 8 3 7 7 3 8 3 None of these 3 8 3 7 7 3 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the given program?#includevoid main(){int a=11,b=5;if(a=5) b++;printf("%d %d", ++a, b++);} 12 7 6 7 11 6 5 6 6 6 12 7 6 7 11 6 5 6 6 6 ANSWER DOWNLOAD EXAMIANS APP