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 |
Explain how to initialize a const member data.
What is size of a object of following class? class Foo { public: void foo(){} }
What is friend class in c++ with example?
What is the latest version on c++?
Describe protected access specifiers?
What do c++ programmers do?
Is there any function that can skip certain number of characters present in the input stream?
Write about the local class and mention its use?
What is doubly linked list in c++?
Explain the difference between realloc() and free() in c++?
Describe private, protected and public – the differences and give examples.
When do we run a shell in the unix system? How will you tell which shell you are running?