Drawbacks of Pointer in C Programming
In this tutorial we are going to list out some drawbacks of pointer in C.
Using pointer in C programming has following disadvantages:
- If pointers are referenced with incorrect values, then it affects the whole program.
- Memory leak occurs if dynamically allocated memory is not freed.
- Segmentation fault can occur due to uninitialized pointer.