Pointers - C++ (MCQ) questions and answers
Here, you can read Pointers multiple choice questions and answers with explanation.
1) Which of the following are member dereferencing operators in CPP?
1. * 2. :: 3. ->* 4. ::* 5. -> - Published on 17 Jul 15
a. Only 1, 3, 4
b. Only 1 and 5
c. Only 3 and 4
d. Only 3,4,5
Answer
Explanation
|
ANSWER: Only 1, 3, 4
Explanation: No explanation is available for this question!
|
|
2) Generic pointers can be declared with__________ . - Published on 17 Jul 15
a. auto
b. void
c. asm
d. None of these
Answer
Explanation
|
ANSWER: void
Explanation: No explanation is available for this question!
|
|
3) Which of the followings is/are pointer-to-member declarator? - Published on 17 Jul 15
a. ->*
b. .*
c. ::*
d. both a and b
Answer
Explanation
|
ANSWER: ::*
Explanation: No explanation is available for this question!
|
|