Pointers in C are one of the most difficult things for many programmers to wrap their minds around and understand. I’m no exception, so this C tutorial on pointers was a re-learning experience for me.
Pointers are a powerful mechanism to work on any array data type. They are also one of the most dangerous tools a programmer can use and a source of a large share of frustrating programming bugs.
In fact, some languages, like Java, have banned their use altogether.
Also, arrays and pointers in C share many similarities, and can be used interchangeably in a lot of instances, as we’ll soon see.
In spite of all this, once you learn how to use pointers you’ll be glad you took the time to do so.