C Programming Find the output of the following program.void main(){ char *msg = "hi"; printf(msg);} Error Garbage Value h hi followed by garbage value hi Error Garbage Value h hi followed by garbage value hi ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output?main() { char *p; p = "Hello"; printf("%cn",*&*p); } H Some address will be printed Hello None of these. H Some address will be printed Hello None of these. ANSWER DOWNLOAD EXAMIANS APP
C Programming Pick the correct statements.I. The body of a function should have only one return statement.II. The body of a function may have many return statements.III. A function can return only one value to the calling environment.IV. If return statement is omitted, then the function does its job but returns no value to the calling environment. I and III III and IV II and III II and IV I and II I and III III and IV II and III II and IV I and II ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:main(){ int i = 5; printf("%d%d%d%d%d", i++, i--, ++i, --i, i);} 45445 45545 54544 54554 45445 45545 54544 54554 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program ?#includeint main(){ int arr[1] = {10}; printf("%d", 0[arr]); return 0;} 1 6 10 0 None of these 1 6 10 0 None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the output of the following statements?for(i=10; i++; i<15) printf("%d ", i); 10 11 12 13 14 15 10 11 12 13 14 Infinite loop None of these 9 10 11 12 13 10 11 12 13 14 15 10 11 12 13 14 Infinite loop None of these 9 10 11 12 13 ANSWER DOWNLOAD EXAMIANS APP