Pointer Arithmetic
This lesson highlights the different arithmetic operations we can perform on pointers.
We'll cover the following
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 1400+ tech skills courses.