What is this pointer in c++?



What is this pointer in c++?..

Answer / 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

More C++ General Interview Questions

Why are pointers used?

0 Answers  


Explain about templates of C++.

0 Answers  


What is the arrow operator in c++?

0 Answers  


What is the difference between a shallow copy and a deep copy?

3 Answers  


how to create window program in c++.please explain.

1 Answers   Microsoft,


Explain polymorphism?

0 Answers  


Is c++ an oop?

0 Answers  


How is static data member similar to a global variable?

0 Answers  


What are single and multiple inheritances in c++?

0 Answers  


Explain dangling pointer.

0 Answers  


What is static function? Explain with an example

0 Answers  


write a porgram in c++ that reads an integer and print the biggest digit in the number

0 Answers  


Categories