Quote Originally Posted by SirPrattlepod View Post
A string literal isn't a char* though.
exactly. the compiler sees it as "char const[]" with a well-defined size. the string literal "hello, world!" is seen by the compiler as "char const[14]"