C Programming Comment on the following pointer declaration?int *ptr, p; ptr and p both are not pointers to integer. ptr is a pointer to integer, p is not. ptr is pointer to integer, p may or may not be. ptr and p, both are pointers to integer. ptr and p both are not pointers to integer. ptr is a pointer to integer, p is not. ptr is pointer to integer, p may or may not be. ptr and p, both are pointers to integer. ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of given program?#includevoid main(){int a=3;for(;a;printf("%d ", a--);} infinity loop 3 2 1 0 no output 3 2 1 infinity loop 3 2 1 0 no output 3 2 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following statements are true after execution of the program.void main(){ int a[10], i, *p; a[0] = 1; a[1] = 2; p = a; (*p)++;} a[1] = 2 a[1] = 3 Compilation error a[0] = 2 a[0] = 3 a[1] = 2 a[1] = 3 Compilation error a[0] = 2 a[0] = 3 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be printed after execution of the following program code?main(){ printf("\\nab"); printf("\\bsi"); printf("\\rha"); } haasi absiha None of these asiha hai haasi absiha None of these asiha hai ANSWER DOWNLOAD EXAMIANS APP
C Programming C preprocessor Acts before compilation Takes care of conditional compilation Takes care of macros All of these Takes care of include files Acts before compilation Takes care of conditional compilation Takes care of macros All of these Takes care of include files ANSWER DOWNLOAD EXAMIANS APP
C Programming Choose the correct output for the following program.#includevoid main(){ int a=10, b=11, c=13, d; d = (a=c, b+=a, c=a+b+c); printf("%d %d %d %d", d, a, b, c);} 13, 13, 24, 13 50, 13, 24, 13 50, 13, 24, 50 13, 10, 24, 50 50, 13, 11, 13 13, 13, 24, 13 50, 13, 24, 13 50, 13, 24, 50 13, 10, 24, 50 50, 13, 11, 13 ANSWER DOWNLOAD EXAMIANS APP