Since the pointer is assumed to be non-NULL in the function anyway, it would be even better to use a reference.


void moveTortoise(int& position)