Which of the following way are legal to access a class data member using this pointer?

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


Leave a Reply