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 a singleton class c++?
Describe new operator?
What is doubly linked list in c++?
Are strings mutable in c++?
How do you traverse a btree in backward in-order?
What is an iterator?
What are pointers used for c++?
Difference between an inspector and a mutator
Explain virtual functions in C++.
Given the following seqment of code containing a group of nested if instructions: y = 9; if ((x==3) || (x == 5)) y++; else if (x == 2) y *= 2; else if (x == 4 ) y-= 7; else y = 8; Enter a segment of code (without any IF statements) that does exectly the same thing using the switch structure.
What is difference c and c++?
How a new operator differs from the operator new?