C Programming Comment on the following pointer declaration?int *ptr, p; 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. 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. 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++));} 6 4 5 Error 6 4 5 Error ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the base data type of a pointer variable by which the memory would be allocated to it? No data type int Depends upon the type of the variable to which it is pointing. float unsigned int No data type int Depends upon the type of the variable to which it is pointing. float unsigned int ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program?#include#define int char void main(){ int i = 65; printf("sizeof(i)=%d", sizeof(i));} sizeof(i)=2 Compiler Error sizeof(i)=1 None of These sizeof(i)=2 Compiler Error sizeof(i)=1 None of These ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char string[]="Hello World"; display(string);}void display(char *string){ printf("%s", string);} Can't Say None of These will print Hello World Compiler Error Can't Say None of These will print Hello World Compiler Error ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following comments about the ++ operator are correct? The operand can come before or after the operator It is a unary operator It associates from the right All of these It cannot be applied to an expression The operand can come before or after the operator It is a unary operator It associates from the right All of these It cannot be applied to an expression ANSWER DOWNLOAD EXAMIANS APP