C Programming Find the output of the following program.void main(){ char *msg = "hi"; printf(msg);} hi followed by garbage value Garbage Value Error h hi hi followed by garbage value Garbage Value Error h hi ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char a[]="12345"; int i = strlen(a); printf("%d", ++i);} None of These 7 5 6 None of These 7 5 6 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=5, j=6, z; printf("%d", i+++j);} None of These 11 13 12 None of These 11 13 12 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:#define square(x) x*xvoid main(){ int i; i = 64/square(4); printf("%d", i);} 64 16 None of These 4 64 16 None of These 4 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. will print Hello World Compilation Error will print garbage value None of these. will print Hello World Compilation Error will print garbage value ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:#define int charvoid main(){ int i = 65; printf("sizeof(i)=%d", sizeof(i));} sizeof(i)=1 sizeof(i)=2 Compiler Error None of These sizeof(i)=1 sizeof(i)=2 Compiler Error None of These ANSWER DOWNLOAD EXAMIANS APP