Loading practice questions
How does compiler decide the intended object to be used, if more than one object are used?
Correct Answer: B — Using this pointer
Explanation:
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.