What is the use of the this pointer?

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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is namespace & why it is used in c++?

821


What are the types of array in c++?

839


How a new operator differs from the operator new?

897


How does atoi function work?

900


What is a character in c++?

801


Can we use this pointer inside static member function?

851


What is a hash function c++?

810


Write a c program for binary addition of two 8 bit numbers.

3902


What is setbase c++?

849


Why main function is special in c++?

896


what is Loop function? What are different types of Loops?

931


Can I run c program in turbo c++?

807


Write a Program for find and replace a character in a string.

835


What is the last index number in an array of 100 characters a) 100 b) 99 c) 101

887


How is data hiding achieved in c++?

810