C++ Pointers - placement practice test

C++ Pointers - placement practice test


1. Which of the followings is/are pointer–to-member declarator ?

a . ->*
b. .*
c. ::*
d. both a and b
View Answer / Hide Answer

ANSWER: c. ::*




2. Which of the following are member dereferencing operators in CPP?

1. *
2. ::
3. ->*
4. ::*
5. ->
a. Only 1, 3 4
b. Only 1 and 5
c. Only 3 and 4
d. Only 3,4,5
View Answer / Hide Answer

ANSWER: a. Only 1, 3 4




3. Generic pointers can be declared with__________

a. auto
b. void
c. asm
d. None of these
View Answer / Hide Answer

ANSWER: b. void


Post your comment

    Discussion

  • RE: C++ Pointers - placement practice test -sathyapriya (08/19/15)
  • i want more questions C++ Pointers - placement practice test