+ 1

what is the purpose of this pointer in class ?

13th Sep 2016, 6:53 PM
Sandeep Singh
Sandeep Singh - avatar
1 Answer
0
classes have the feature called this pointer to point to their own object address. this pointer can access the data member and functions of the class.
13th Sep 2016, 6:55 PM
Sandeep Singh
Sandeep Singh - avatar