1.

This pointer can be used directly to ___________(a) To manipulate self-referential data structures(b) To manipulate any reference to pointers to member functions(c) To manipulate class references(d) To manipulate and disable any use of pointersThis question was posed to me during an interview for a job.This interesting question is from This Pointer topic in division Assigning Object, Pointer to Objects, Passing and Returning Object of Object Oriented Programming

Answer»

The correct ANSWER is (a) To manipulate self-referential data STRUCTURES

Easiest EXPLANATION - This is a FEATURE provided, that can be used directly. The manipulation of self-referential data structures is just an APPLICATION of this feature. Other conditions fails as this pointer doesn’t deal with those things.



Discussion

No Comment Found

Related InterviewSolutions