C pointer addition

In the previous lecture we have learnt about decrementing pointer variable. In this chapter we will be learning about adding integer number to pointer variable.

Adding integer value with Pointer

In C Programming we can add any integer number to Pointer variable. It is perfectly legal in c programming to add integer to pointer variable.
In order to compute the final value we need to use following formulae :