C++ Programming - OOPS Concepts - Discussion

Discussion Forum : OOPS Concepts - General Questions (Q.No. 35)
35.
Which of the following ways are legal to access a class data member using this pointer?
this->x
this.x
*this.x
*this-x
Answer: Option
Explanation:
No answer description is available. Let's discuss.
Discussion:
12 comments Page 2 of 2.

Bhardbj said:   8 years ago
You're right @Nikam.

Vandana said:   1 decade ago
Why not this.x?


Post your comments here:

Your comments will be displayed after verification.