What is the use of the this pointer?
Answers were Sorted based on User's Feedback
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 |
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 |
• 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 are function poinetrs? where are they used?
What is the difference between C and CPP?
How to declare a function pointer?
Why do you use the namespace feature?
How do you know that your class needs a virtual destructor?
What's c++ used for?
What are the various arithmetic operators in c++?
What is pointer -to-members in C++? Give their syntax?
What is the difference between an external iterator and an internal iterator? Describe an advantage of an external iterator?
sizeof - is it a function or operator?
How a new operator differs from the operator new?
Why is c++ difficult?