Coupon Accepted Successfully!



  1. Similar to C, in C++, variables are used to hold data values during program execution. When declared, every variable occupies certain memory locations.
  2. Pointers save the memory space. The execution time with pointers is faster, because data are manipulated with the address.
  3. The indirection operator (*) is also called the dereference operator. When a pointer is dereferenced, the value at that address stored by the pointer is retrieved.
  4. The ‘&’ is the address operator, and it represents the address of the variable. The address of any variable is a whole number.
  5. Pointers can also be declared as void type. void pointers cannot be dereferenced without explicit-type conversion. This is because, being void, the compiler cannot determine the size of the object that the pointer points to.
  6. The pointer this is transferred as an unseen parameter in all calls to non-static member functions. The keyword this is a local variable that always presents in the body of any non-static member function.
  7. This chapter covers topics on pointer to derived classes and base class, pointer to members, accessing private members with pointers, direct access to private members, addresses of objects, and void pointers.
  8. More programs are given in this chapter to understand the concepts on pointers.

Test Your Skills Now!
Take a Quiz now
Reviewer Name