How many types of pointers?
a) one
b) two
c) three
d) four
Explanation: pointer addition, pointer subtraction
What type of pointer is used to move pointer reference forward in the memory?
a) pointer subtraction
b) pointer addition
c) pointer multiply
d) pointer division
What type of pointer is used to move pointer reference backward in the memory?
a) pointer subtraction
b) pointer addition
c) pointer multiply
d) pointer division
Which one of the following is not a possible state for a pointer?
a) hold the address of specific object
b) point one past the end
c) zero
d) point a type
Which of the following is illegal?
a) int *ip;
b) string s, *sp=0;
c) int I; double* dp=&I;
d) int pi*=0;
What is the size of generic pointer in C++ (in 32-bit platform)?
a) 2
b) 4
c) 8
d) 0