C Programming What will be the output of the following code fragment?void main(){ printf("%x",-1<<4);} fff4 fff0 fff3 fff2 fff1 fff4 fff0 fff3 fff2 fff1 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char a[]="12345"; int i = strlen(a); printf("%d", ++i);} None of These 5 7 6 None of These 5 7 6 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);} 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]){} void fun(int *p[4]){} void fun(int *p[3][4]){} ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program?#include#define square(x) x*x void main(){ int i; i = 64/square(4); printf("%d", i); } 4 None of These 16 64 4 None of These 16 64 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program?#include#define prod(a,b) a*bvoid main(){ int x=3,y=4; printf("%d", prod(x+2,y-1));} 10 None of these 11 15 12 10 None of these 11 15 12 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program?#includevoid main(){ int i = 10; void *p = &i; printf("%d\n", (int)*p);} 10 Compiler time error Segmentation fault/runtime crash Undefined behavior 10 Compiler time error Segmentation fault/runtime crash Undefined behavior ANSWER DOWNLOAD EXAMIANS APP