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

Discussion :: C++ - MCQs

  1. Void pointer can point to which type of objects?
  2. A.
    int
    B.
    float
    C.
    double
    D.
    all of the mentioned

    View Answer

    Workspace

    Answer : Option D

    Explanation :

    Because it doesn't know the type of object it is pointing to, So it can point to all objects.


Be The First To Comment