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

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

1.this->x

2.this.x

3.*this.x

4.*this-x


Search
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!