+ 4
Explain "this pointer"
Please explain how ' this pointer ' works And what is its use
3 Answers
+ 3
//
A pointer is a variable, with the address of another variable as its value.
https://www.sololearn.com/learn/CPlusPlus/1630/?ref=app
+ 3
Thanks Shudarshan Rai đ but this link doesn't have the answer I am looking for...
+ 2
The this pointer holds the address of current object, in simple words you can say that this pointer points to the current object of the class