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);} will print Hello World will print garbage value Compilation Error None of these. will print Hello World will print garbage value Compilation Error None of these. ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.void main(){ char *msg = "hi"; printf(msg);} Garbage Value hi h Error hi followed by garbage value Garbage Value hi h Error hi followed by garbage value 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); Garbage Value 13 14 12 15 Garbage Value 13 14 12 15 ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program. void main() { int i=01289; printf("%d", i); } 1289 713 0289 0713 Syntax error 1289 713 0289 0713 Syntax error ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=0; for(;i++;printf("%d", i)); printf("%d", i);} 11 1 12 Error 11 1 12 Error ANSWER DOWNLOAD EXAMIANS APP
C Programming An array elements are always stored in ________ memory locations. Random None of these Sequential and Random Sequential Random None of these Sequential and Random Sequential ANSWER DOWNLOAD EXAMIANS APP