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 float unsigned int Depends upon the type of the variable to which it is pointing. No data type int float unsigned int Depends upon the type of the variable to which it is pointing. ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:#include void main(){ char *p = NULL; char *q = 0; if(p) printf(" p "); else printf("nullp"); if(q) printf("q"); else printf(" nullq");} p q Depends on the compiler x nullq where x can be p or nullp depending on the value of NULL nullp nullq p q Depends on the compiler x nullq where x can be p or nullp depending on the value of NULL nullp nullq ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program code?#include#define a 10void main(){ #define a 50 printf("%d", a);} Compiler Error 50 None of These 10 Compiler Error 50 None of These 10 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following comments about the ++ operator are correct? It associates from the right It cannot be applied to an expression All of these The operand can come before or after the operator It is a unary operator It associates from the right It cannot be applied to an expression All of these The operand can come before or after the operator It is a unary operator ANSWER DOWNLOAD EXAMIANS APP
C Programming The function sprintf() works like printf(), but operates on .......... string stdin no such function in 'C'. stderr Data file string stdin no such function in 'C'. stderr Data file ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char *str1 = "abcd"; char str2[] = "abcd"; printf("%d %d %d", sizeof(str1), sizeof(str2), sizeof("abcd"));} 2 5 5 2 4 4 5 5 5 2 4 5 2 5 5 2 4 4 5 5 5 2 4 5 ANSWER DOWNLOAD EXAMIANS APP