C Programming What will be printed after execution of the following program code?main(){ printf("\\nab"); printf("\\bsi"); printf("\\rha"); } absiha None of these hai haasi asiha absiha None of these hai haasi asiha ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the output of the following statements?int b=15, c=5, d=8, e=8, a;a = b>c ? c>d ? 12 : d>e ? 13 : 14 : 15;printf("%d", a); 15 12 14 13 Garbage Value 15 12 14 13 Garbage Value 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));} g##g2 Syntax error Runtime error 10012 100 g##g2 Syntax error Runtime error 10012 100 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the result of compiling and running this code?main(){ char string[] = "Hello World"; display(string);}void display(char *string){ printf("%s", string);} None of these. Compilation Error will print Hello World will print garbage value None of these. Compilation Error will print Hello World will print garbage value 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);} Segmentation fault/runtime crash 10 Compiler time error Undefined behavior Segmentation fault/runtime crash 10 Compiler time error Undefined behavior 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[3][4]){} void fun(int p[][4]){} None of these void fun(int *p[4]){} void fun(int *p[][4]){} void fun(int *p[3][4]){} void fun(int p[][4]){} None of these void fun(int *p[4]){} void fun(int *p[][4]){} ANSWER DOWNLOAD EXAMIANS APP