C is a programming language for computers. It supports the use of Pointers. Pointers are basically a simple reference that records the address or location of a function or object in memory. The following are the merits of Pointers:
- They can be dereferenced to access data
- They can be manipulated by assignment and pointer arithematic.
- They can be used for Text strings, Dynamic memory allocation etc
The demerits of Pointers are as follows:
- Null pointer can result in run-time error.
- Void pointers can not be dereferenced