A pointer is the most efficient way of declaring dynamic memory allocation. The pointer does not take any value directly, but it can point to some other variable indirectly. It is used to access the address or the values of another variable. The pointer used two operators they are “&” and “*”. One is the address operator (&) is used for getting the address of another normal variable similarly, the indirection operator (*) which is used for getting the value of another normal variable.
In this “Pointer – C++ Programming” you will learn about the following topics:
- Pointer and Address
- The Address of Operator &, Pointer Variable
- Pointer and Array
- Pointer to Function
- Pointer and Strings
- String as Function Argument
- Arrays of Pointer to String
- Memory Management using New and Delete
- Pointers to Objects
- An Array of Pointers to Objects
- This Pointer
- Pointer to Derived Class
==== Point to Note ====
If you like to contribute, you can mail us BCA Notes, BCA Question Collections, BCA Related Information, and Latest Technology Information at [email protected].
See your article appearing on BCA Notes (Pokhara University) main page with your designation and help other BCA Students to excel.
Please write comments if you find anything incorrect, or you want to share more information about the topic discussed above.
0 Comments