What is the use of the this pointer?

Answer Posted / hr@tgksolutions.com

• 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain what is oop?

827


What are the advantages of pointers?

810


What character terminates all character array strings a) b) . c) END

979


Is oops and c++ same?

792


Where are setjmp and longjmp used in c++?

847


What are enumerations?

862


What is the use of object in c++?

827


What is heap sort in c++?

862


Define the operators that can be used with a pointer.

806


What does extern mean in a function declaration in c++?

933


Do you know about latest advancements in C++ ?

865


What is meant by const_cast?

869


How can you quickly find the number of elements stored in a static array? Why is it difficult to store linked list in an array?

779


What is the use of map in c++?

884


What does the ios::ate argument do?

916