char *mystring = "hello";To:
const char *mystring = "hello";Add a `const`. It makes since since the quoted string is a constant.
char *mystring = "hello";To:
const char *mystring = "hello";Add a `const`. It makes since since the quoted string is a constant.