pointerarithmetic.cpp Transforms