Arithmetic operations that can be applied to pointers:
- Increment of a Pointer
- Decrement of a Pointer
The ++ and – operators may be used to increment or decrement a pointer variable. An integer may be added to or subtracted from a pointer variable. This may be performed with the + and - operators, or the += and -= operators. Also pointer may be subtracted from another pointer.
Recommended textbook solutions
More related questions