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 is the benefit of c++?
What is the type of this pointer in c++?
class base { public: int fun(int) {} }; class base2 { public: int fun(float) { } }; so here qustion is both function either function overloading or over riding;
what is the difference between linear list linked representaion and linked representation? what is the purpose of representing the linear list in linked represention ? is it not avoiding rules of linear represention?
Why do we use double in c++?
Explain selection sorting. Also write an example.
What is virtual methods?
How do I open binary files?
What is math h in c++?
Can I learn c++ in a week?
What are raw sockets, where they are efficient?
What is an action class?