C Programming Find the output of the following program.void main(){ char *msg = "hi"; printf(msg);} hi followed by garbage value Garbage Value h hi Error hi followed by garbage value Garbage Value h hi Error 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 10 11 12 13 14 15 None of these Infinite loop 9 10 11 12 13 10 11 12 13 14 10 11 12 13 14 15 None of these Infinite loop 9 10 11 12 13 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the maximum number of dimensions an array in C may have? 20 Theoratically no limit. The only practical limits are memory size and compilers. 8 50 2 20 Theoratically no limit. The only practical limits are memory size and compilers. 8 50 2 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:void main(){ extern int i; i=20; printf("%d", sizeof(i));} Linker Error 2 Compiler Error 20 Linker Error 2 Compiler Error 20 ANSWER DOWNLOAD EXAMIANS APP
C Programming C preprocessor Takes care of include files Takes care of conditional compilation Takes care of macros All of these Acts before compilation Takes care of include files Takes care of conditional compilation Takes care of macros All of these Acts before compilation ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of following program code?#include int main(void){ char p; char buf[10] = {1, 2, 3, 4, 5, 6, 9, 8}; p = (buf + 1)[5]; printf("%d", p); return 0;} 6 Error None of these 5 9 6 Error None of these 5 9 ANSWER DOWNLOAD EXAMIANS APP