ObjectiveMcq
Print Protected
This page is protected for print. Use the website to view the content.
How does compiler decide the intended object to be used, if more than one object are used?
Correct Answer: B — Using this pointer
This pointer denotes the object, in which it is being used. If member function is called with respect to one object then this pointer refers to the same object members. It can be used when members with same name are involved.