Pointers are used to pass parameters by reference, i.e. the argument can be modified.
All arrays are pointers in ‘C’ language. Pointers are used for passing arrays and strings to functions.
Pointers are used in complex data structures like linked lists, trees, graphs, etc.
Pointerss are used for dynamic memory allocation.
All file handling operations in ‘C’ are performed using pointers.
Also Read
- Static and Dynamic Memory Allocation
- Memory Leak and Dangling Pointer
- Memory Allocation for 2D Array
- Dynamic Memory Allocation
- Pointer Constant and Constant Pointer
- Pointer Declarations and their Meanings
- Functions and Pointers
- Initializing Pointer to Pointer
- Pointer to Pointer Multiple Indirection
- Relationship between Array and Pointer
- Pointer to Array
- Pointer Arithmetic
- Types of Pointer
- Illustrate Basic Pointer Use
- Using Pointer
- Intializing Pointer
- Declaring Pointer
- Value Model VS Reference Model
- What is Pointer
Comments
Post a Comment
Please give us feedback through comments