Wednesday, February 22, 2017

Pointer Arithmetic!

Pointers are so powerful programming construct in C++. If it is used wisely then you could achieve so many things with ease; if not used correctly then you have to pay for it. Here is one worth point of note:

// Pointer arithmetic/offset works as per the element/casted element TYPE




No comments: