Pointers Questions and Answers
Practice ModeShowing 10 of 217 questions
Q31
The number of arguments used in malloc ( ) is
Answer: Option B
Q32
The number of arguments used in calloc ( ) is
Answer: Option C
Q33
The number of arguments used in realloc ( ) is
Answer: Option C
Q34
The function used for dynamic deallocation of memory is
Answer: Option C
Q35
The function call realloc (ptr, 0) is
Answer: Option A
Q36
In the expression *cp++
Answer: Option D
Q37
The pointers can be used to achieve
Answer: Option B
Q38
The operators &, *, ++ and -- have
Answer: Option A
Q39
Identify the invalid expression for given syntax:
float fnum [10], *fptr = fnum;
Answer: Option C
Q40
Identify the correct statement for given expression
float fnum [10];
Answer: Option B