C Programming What will be printed after compiling and running the following code?main() { char *p; printf("%d %d",sizeof(*p), sizeof(p));} 1 2 1 1 2 1 2 2 1 2 1 1 2 1 2 2 ANSWER DOWNLOAD EXAMIANS APP
C Programming The default parameter passing mechanism is None of these. call by value call by reference call by value result None of these. call by value call by reference call by value result ANSWER DOWNLOAD EXAMIANS APP
C Programming What does the following declaration mean?int (*ptr)[10]; ptr is an pointer to array ptr is an array of 10 integers ptr is a pointer to an array of 10 integers ptr is array of pointers to 10 integers ptr is an pointer to array ptr is an array of 10 integers ptr is a pointer to an array of 10 integers ptr is array of pointers to 10 integers ANSWER DOWNLOAD EXAMIANS APP
C Programming Consider the following code:void main(){ int a[5] = {6,8,3,9,0}, i=0; if(i != 0) { break; printf("%d", a[i]); } else printf("%d", a[i++]);}What is the output of the above program? No output 8 Runtime error Syntax error 6 No output 8 Runtime error Syntax error 6 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:void main(){ int const *p=5; printf("%d", ++(*p));} 6 5 Garbage Value Compiler Error 6 5 Garbage Value Compiler Error ANSWER DOWNLOAD EXAMIANS APP
C Programming If integer needs two bytes of storage, then maximum value of an unsigned integer is 216 None of these 215 216 – 1 215 – 1 216 None of these 215 216 – 1 215 – 1 ANSWER DOWNLOAD EXAMIANS APP