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

Tell me an example where stacks are useful?

0 Answers  


When there is a global variable and local variable with the same name, how will you access the global variable?

0 Answers  


When is the destructor called?

0 Answers  


What is a static element?

0 Answers  


Can c++ do everything c can?

0 Answers  


What is the Difference between "C structure" and "C++ structure"?

12 Answers  


What is else if syntax?

0 Answers  


Write a C++ program to sort digits of all the 4 digit number and display the sorted 4 digit number

1 Answers   TATA, TCS,


Why is c++ so fast?

0 Answers  


List out function which we can call without using object

1 Answers  


How do you initialize a class member, class x { const int i; };

8 Answers   emc2,


What is virtual methods?

0 Answers  


Categories