When does a 'this' pointer get created?



When does a 'this' pointer get created?..

Answer / Deepa Singh

The 'this' pointer is automatically created by the compiler and is accessible within non-static member functions. It points to the object for which the function is called.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C++ General Interview Questions

In C++ cout is: a) object b) class c) something else

11 Answers   Infosys, Lehman Brothers,


Explain linear search.

1 Answers  


What is a "RTTI"?

6 Answers   HCL,


What is c++ mutable?

1 Answers  


What is a c++ class?

1 Answers  


What is c++ try block?

1 Answers  


What is Namespace?

5 Answers   HCL, Samsung,


What is the difference between method and message?

5 Answers   HP,


In which header file does one find isalpha() a) conio.h b) stdio.h c) ctype.h

1 Answers  


What are the advantages of C++ programming compared to C programming?

2 Answers   HAL,


Explain what are mutator methods in c++?

1 Answers  


What is constructor in C++?

1 Answers  


Categories