C Programming Find the output of the following program.void main(){ char *msg = "hi"; printf(msg);} Error hi Garbage Value hi followed by garbage value h Error hi Garbage Value hi followed by garbage value h ANSWER DOWNLOAD EXAMIANS APP
C Programming String concatenation means - Partitioning the string into two strings. Merging two strings. Comparing the two strings to define the larger one. Extracting a substring out of a string. Combining two strings. Partitioning the string into two strings. Merging two strings. Comparing the two strings to define the larger one. Extracting a substring out of a string. Combining two strings. 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));} None of these 10 11 15 12 None of these 10 11 15 12 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=10; i=!i>14; printf("i=%d", i);} 1 0 10 14 1 0 10 14 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));} 10012 Syntax error g##g2 Runtime error 100 10012 Syntax error g##g2 Runtime error 100 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 Segmentation fault/runtime crash Undefined behavior Compiler time error 10 Segmentation fault/runtime crash Undefined behavior Compiler time error ANSWER DOWNLOAD EXAMIANS APP