Pointer Arithmetic

This lesson highlights the different arithmetic operations we can perform on pointers.

Basic Addition and Subtraction

Consider a simple pointer, p, which points to a value of 10. What would happen if we increment it by 1?

Get hands-on with 1200+ tech skills courses.