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:

  1. If pointers are referenced with incorrect values, then it affects the whole program.
  2. Memory leak occurs if dynamically allocated memory is not freed.
  3. Segmentation fault can occur due to uninitialized pointer.