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 |
When must you use a pointer rather than a reference?
What is binary object model?
What are formatting flags in ios class?
Write about the various sections of the executable image?
What is the use of ‘using’ declaration?
Do the names of parameters have to agree in the prototype, definition, and call to the function?
what is the difference between overloading & overriding? give example.
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 are the data types in c++?
What's the "software peter principle”?
What are protected members in c++?
What is the basic of c++?