Home / CSE MCQs / C++ - MCQs :: Discussion

Discussion :: C++ - MCQs

  1. A void pointer cannot point to which of these?
  2. A.
    methods in c++
    B.
    class member in c++
    C.
    both a & b
    D.
    none of the mentioned

    View Answer

    Workspace

    Answer : Option B

    Explanation :

    Because the class member will have a definite type, So it cannot pointed by a void pointer.


Be The First To Comment