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

Discussion :: C++ - MCQs

  1. When does the void pointer can be dereferenced?
  2. A.
    when it doesn't point to any value
    B.
    when it cast to another type of object
    C.
    using delete keyword
    D.
    none of the mentioned

    View Answer

    Workspace

    Answer : Option B

    Explanation :

    By casting the pointer to another data type, it can dereferenced from void pointer.


Be The First To Comment