Professional Documents
Culture Documents
Pointers in C: Prof. K Venkatarao
Pointers in C: Prof. K Venkatarao
Prof. K VenkataRao
Pointers in C
Here ptr is used to access the address of variable a and *ptr is used
to access the value of variable a.
Memory Allocation of Pointer
Variables
1. Every pointer variable is used to store the address of another variable.
integer value.
memory.
In c programming language,
we can perform the following arithmetic operations on pointers...
1. Addition
2. Subtraction
3. Increment
4. Decrement
5. Comparison