Pointer Arithmetic

First, the binky video may help. It’s a nice video about pointers. For arithmetic, here is an example: (Note that incrementing a pointer that contains a null pointer value strictly is undefined behavior. We used NULL because we were only interested in the value of the pointer. Normally, only use increment/decrement when pointing to elements … Read more