A pointer is a variable that contains a memory address of another variable. Normally a pointer variable is declared the same way as other variables in C. So, that it will work only with an address of another variable. Just as an integer variable can hold only an integer, a character variable can hold only a character type. Each pointer variable can point only to a specific type (int, float, char). Pointer can have a name that is legal for other variable and it is declared in some fashion like other variable but while deceleration we preceded by *(asterisk) operator to inform pointer variable."
In this “Introduction to Pointers – C Programming” you will learn about the following topics:
- Introduction to Pointers
- Pointer Deceleration
- Address (&) and Indirection (*) or Deference Operator
- Initialization Pointers
- Bad Pointer
- Void Pointer
- Null Pointer
- Pointer and Arrays
- Returning Multiple Values from the Functions Using Pointers
- Pointer Arithmetic
- Double Indirection (Pointer to Pointer)
- Pointer and Strings
- Pointer to Array
- Pointer to Multidimensional Array
- Application of Pointer
==== Point to Note ====
This article Introduction to Pointers – C Programming is contributed by Pawan Tiwari, a student of LA GRANDEE International College (LGIC).
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