1.

An object’s this pointer _____________________(a) Isn’t part of class(b) Isn’t part of program(c) Isn’t part of compiler(d) Isn’t part of object itselfI had been asked this question in my homework.Enquiry is from This Pointer topic in portion Assigning Object, Pointer to Objects, Passing and Returning Object of Object Oriented Programming

Answer»

The correct option is (d) Isn’t part of object itself

To explain: The object’s this pointer being called are not part of the object itself. This can be cross verified by CHECKING that it doesn’t take up any SPACE for the DATA to be stored or POINTED.



Discussion

No Comment Found

Related InterviewSolutions