Table of Content

  • Basics of Pointer

Pointer MCQ : Basics of Pointer (Multiple Choice Questions)


Question 1
A pointer is
A
A keyword used to create variables
B
A variable that stores address of other variable
C
None of these
D
A variable that stores address of an instruction
Question 2
"&" is called as ___________ in pointer concept.
A
Conditional Operator
B
Address Operator
C
None of these
D
Logical Operator
Question 3
"*" is called as ___________.
A
Scope Resolution Operator
B
None of these
C
Value at Operator
D
Address Operator
Question 4
"*" is called as ___________.
A
Scope Resolution Operator
B
None of these
C
Value at Operator
D
Address Operator
Question 5
In which header file is the NULL macro defined ?
A
stddef.h
B
math.h
C
stdio.h
D
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.