why the following code using char* doesn't work?

Printable View