I passed a pointer ptr to a function whose prototype takes it as const.
ptr
const
foo( const char *str );
Which according to m