Tag: Pointers

  • C++ Programming Questions and Answers – Pointer to Function

    C++ Programming Questions and Answers – Pointer to Function

    C++ questions and puzzles focuses on “Pointer to Function”. One shall practice these questions and puzzles to improve their C++ programming skills needed for various interviews (interviews, walk-in interviews, company interviews) entrance exams and other competitive exams. These programming puzzles can be attempted by anyone focusing on learning C++ programming language. They can be a…

  • C++ Programming Questions and Answers – Pointer to Void

    C++ Programming Questions and Answers – Pointer to Void

    Q 1. The void pointer can point to which type of objects?A. intB. floatC. doubleD. all of the mentioned Show Answer Answer:-B. float Explanation Because it doesn’t know the type of object it is pointing to, So it can point to all objects. Q 2. When does the void pointer can be dereferenced?A. when it…

You cannot copy content of this page