*(foo+2)
foo[2]
This is hugely helpful for me to realize. The later notation is just shorthand for pointer arithmetic.