SEM1-BPL - Lesson10-Pointers
SEM1-BPL - Lesson10-Pointers
LESSON 9
Pointers
CONTENT
1. What are Pointers?
2. Pointer Variables and Operators
3. Pointer Arithmetic
4. Pointers and Single Dimensional Arrays
5. Pointer and Multidimensional Arrays
6. Dynamic Memory Allocation
7. Pointers and Functions
8. Summary
• For example:
int *ptr;
*ptr_var++ Will fetch the value of the next integer after var
• instead of
data_type ptr_var [expr1][expr 2];
• Function Pointers