Answer Posted / madhu
'this' pointer is created when you create an object with
dynamic memory allocation. 'this' pointer will be created at
the time of object creation.
It holds the current object's address.
'this' cannot be used inside the static or a friend functions.
| Is This Answer Correct ? | 14 Yes | 2 No |
Post New Answer View All Answers
What are the 5 oop principles?
What are different oops concepts?
What is the importance of oop?
what type of question are asked in thoughtworks pair programming round ?
Why is oop useful?
Why is abstraction used?
What are objects in oop?
What is oops with example?
write a code for this:trailer recordId contains a value other than 99, then the file must error with the reason ‘Invalid RECORD_ID’(User Defined Exception).
Write A Program to find the ambiguities in Multiple Inheritance? How are they resolved.(Virtual Functions)
What is inheritance in oop?
What are the benefits of oop?
when to use 'mutable' keyword and when to use 'const cast' in c++
Why is polymorphism used?
What is oops in simple words?