What is the use of the this pointer?

Answers were Sorted based on User's Feedback



What is the use of the this pointer?..

Answer / nashiinformaticssolutions

• It points to the calling object and is used to resolve scope issues, especially with member functions

Is This Answer Correct ?    0 Yes 0 No

What is the use of the this pointer?..

Answer / glibwaresoftsolutions

• It points to the calling object and is used to resolve scope issues, especially with member functions.

Is This Answer Correct ?    0 Yes 0 No

What is the use of the this pointer?..

Answer / hr@tgksolutions.com

• It points to the calling object and is used to resolve scope issues, especially with member functions.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C++ General Interview Questions

What are function poinetrs? where are they used?

1 Answers   CTS,


What is the difference between C and CPP?

0 Answers   iNautix,


How to declare a function pointer?

0 Answers  


Why do you use the namespace feature?

0 Answers  


How do you know that your class needs a virtual destructor?

5 Answers   Lucent,


What's c++ used for?

0 Answers  


What are the various arithmetic operators in c++?

0 Answers  


What is pointer -to-members in C++? Give their syntax?

0 Answers   Honeywell, Zomato,


What is the difference between an external iterator and an internal iterator? Describe an advantage of an external iterator?

0 Answers  


sizeof - is it a function or operator?

6 Answers   Honeywell,


How a new operator differs from the operator new?

0 Answers  


Why is c++ difficult?

0 Answers  


Categories