What is the use of the this pointer?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the difference between new() and malloc() in c++?

877


What is difference between n and endl in c++?

798


Is dev c++ free?

810


Why #include is used?

835


Is c++ proprietary?

829


What do you mean by function pointer?

867


Tell me can a pure virtual function have an implementation?

799


What is a driver program?

887


Is arr and &arr are same expression for an array?

829


what is a reference variable in C++?

933


When do you call copy constructors?

900


Write a program using shift_half( ) function to shift the elements of first half array to second half and vice versa.

1079


Why c++ is better than c language?

814


When do we use copy constructors?

810


How do you flush a buffer in c++?

835