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 Undefined behavior Compiler time error Segmentation fault/runtime crash 10 Undefined behavior Compiler time error Segmentation fault/runtime crash ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following piece of code?for(i = 0; i<10; i++);printf("%d", i); Infinite loop 10 0123456789 0 Syntax error Infinite loop 10 0123456789 0 Syntax error ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:#include#define a 10void main(){ #define a 50 printf("%d", a);} 50 10 Compiler Error None of These 50 10 Compiler Error None of These ANSWER DOWNLOAD EXAMIANS APP
C Programming What does the following declaration mean?int (*ptr)[10]; ptr is a pointer to an array of 10 integers ptr is an array of 10 integers ptr is an pointer to array ptr is array of pointers to 10 integers ptr is a pointer to an array of 10 integers ptr is an array of 10 integers ptr is an pointer to array ptr is array of pointers to 10 integers ANSWER DOWNLOAD EXAMIANS APP
C Programming The recursive functions are executed in a ........... Parallel order Random order Last In First Out order Iterative order First In First Out order Parallel order Random order Last In First Out order Iterative order First In First Out order ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ static int var = 5; printf("%d ", var--); if(var) main();} 5 4 3 2 1 Infinite Loop None of These 5 5 5 5 5 5 4 3 2 1 Infinite Loop None of These 5 5 5 5 5 ANSWER DOWNLOAD EXAMIANS APP