+ 5

What is the use of "this" pointer and how it is used??

26th Sep 2017, 11:54 AM
Aman Raj
Aman Raj - avatar
2 Respostas
+ 4
Hi , C++ this Pointer. Every object in C++ has access to its own address through an important pointer  called this pointer. The this pointer is an implicit parameter to all member functions. Therefore, inside a member function, this may be used to refer to the invoking object.
26th Sep 2017, 2:01 PM
Nanda Balakrishnan
+ 1
thanks Nanda
11th Feb 2018, 2:06 AM
Aman Raj
Aman Raj - avatar