What is this pointer in c++?
Every object in C++ has access to its own address through an important pointer called this pointer. The this pointer is an implicit parameter to all member functions. Therefore, inside a member function, this may be used to refer to the invoking object. ... Only member functions have a this pointer.
Is This Answer Correct ? | 0 Yes | 0 No |
Tell me an example where stacks are useful?
When there is a global variable and local variable with the same name, how will you access the global variable?
When is the destructor called?
What is a static element?
Can c++ do everything c can?
What is the Difference between "C structure" and "C++ structure"?
What is else if syntax?
Write a C++ program to sort digits of all the 4 digit number and display the sorted 4 digit number
Why is c++ so fast?
List out function which we can call without using object
How do you initialize a class member, class x { const int i; };
What is virtual methods?