The head first C book mentions correctly that:
A variable that points to a string literal can’t be used to change the contents of the string