What is this pointer in c++?

Answer Posted / hrpynux@gmail.com

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. ... Only member functions have a this pointer.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are virtual constructors/destructors?

578


What is the full form of india?

568


What is the difference between passing by reference and passing a reference?

560


In a function declaration what does extern means?

600


What is object in c++ wikipedia?

572






What is Destructor in C++?

638


Can char be a number c++?

595


What does override mean in c++?

586


What is different in C++, compare with unix?

611


What is c++ coding?

658


What is implicit pointer in c++?

604


How a macro differs from a template?

637


What are vectors used for in c++?

625


What is the maximum combined length of command line arguments including the space between adjacent arguments?

594


What is late binding c++?

543