Which of the following ways are legal to access a class data member using this pointer?
A. this.x
B. *this.x
C. *(this.x)
D. (*this).x
Answer:D
Which of the following ways are legal to access a class data member using this pointer?
A. this.x B. *this.x C. *(this.x) D. (*this).x