2. Pointer Arithmetic #

Created Saturday 21 December 2019

Addition and subtraction of integers is allowed on pointer variables(except null and void pointers). Other arithmetic operations such as multiplication and division are not allowed. Reason: As we don’t know the memory they reference and the jump, respectively, void* are increased by 1 in some compilers, but this is not a standard, it is done only if the -pedantic flag is used.

Note: