C Programming Determine Output:#include#define a 10void main(){ #define a 50 printf("%d", a);} None of These 50 Compiler Error 10 None of These 50 Compiler Error 10 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char *p; printf("%d %d", sizeof(*p), sizeof(p));} 2 1 1 2 1 1 2 2 2 1 1 2 1 1 2 2 ANSWER DOWNLOAD EXAMIANS APP
C Programming What does the following declaration mean?int (*ptr)[10]; ptr is an pointer to array ptr is a pointer to an array of 10 integers ptr is an array of 10 integers ptr is array of pointers to 10 integers ptr is an pointer to array ptr is a pointer to an array of 10 integers ptr is an array of 10 integers ptr is array of pointers to 10 integers ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.void main(){ char *msg = "hi"; printf(msg);} hi hi followed by garbage value h Error Garbage Value hi hi followed by garbage value h Error Garbage Value ANSWER DOWNLOAD EXAMIANS APP
C Programming A function 'p' that accepts a pointer to a character as argument and returns a pointer to an array of integer can be declared as int (*p) (char *)[] int(*p(char *))[] None of these. int *p(char *)[] int (*p) (char *)[] int(*p(char *))[] None of these. int *p(char *)[] ANSWER DOWNLOAD EXAMIANS APP
C Programming What will happen after compiling and running following code?main(){ printf("%p", main); } Some address will be printed. Will make an infinite loop. None of these. Error Some address will be printed. Will make an infinite loop. None of these. Error ANSWER DOWNLOAD EXAMIANS APP