C Programming What will happen after compiling and running following code?main(){ printf("%p", main); } Some address will be printed. None of these. Will make an infinite loop. Error Some address will be printed. None of these. Will make an infinite loop. Error ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.#define INC(X) X++void main(){ int x=4; printf("%d", INC(x++));} 5 4 Error 6 5 4 Error 6 ANSWER DOWNLOAD EXAMIANS APP
C Programming Comment on the following pointer declaration?int *ptr, p; ptr and p, both are pointers to integer. ptr is pointer to integer, p may or may not be. ptr and p both are not pointers to integer. ptr is a pointer to integer, p is not. ptr and p, both are pointers to integer. ptr is pointer to integer, p may or may not be. ptr and p both are not pointers to integer. ptr is a pointer to integer, p is not. ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the final value of the digit?void main(){ int digit = 0; for( ; digit <= 9; ) digit++; digit *= 2; --digit;} 19 -1 16 20 17 19 -1 16 20 17 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); 10 0123456789 Infinite loop Syntax error 0 10 0123456789 Infinite loop Syntax error 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming C preprocessor All of these Takes care of include files Takes care of macros Takes care of conditional compilation Acts before compilation All of these Takes care of include files Takes care of macros Takes care of conditional compilation Acts before compilation ANSWER DOWNLOAD EXAMIANS APP