Pointer MCQ : Basics of Pointer (Multiple Choice Questions)
Question 1 |
A pointer is
A keyword used to create variables | |
A variable that stores address of other variable | |
None of these | |
A variable that stores address of an instruction |
Question 2 |
"&" is called as ___________ in pointer concept.
Conditional Operator | |
Address Operator | |
None of these | |
Logical Operator |
Question 3 |
"*" is called as ___________.
Scope Resolution Operator | |
None of these | |
Value at Operator | |
Address Operator |
Question 4 |
"*" is called as ___________.
Scope Resolution Operator | |
None of these | |
Value at Operator | |
Address Operator |
Question 5 |
In which header file is the NULL macro defined ?
stddef.h | |
math.h | |
stdio.h | |
stdio.h and stddef.h |
Question 5 Explanation:
The macro "NULL" is defined in locale.h, stddef.h, stdio.h, stdlib.h, string.h, time.h, and wchar.h.
There are 5 questions to complete.