I have 2 questions regarding that code:
char* word="Hello World";
word[0]='a';
printf("%s",word);
I know that when you creat a string like this, you can't change the string because it is a constant string, so I don't understand why I can run this code and not have any error(I Use Code Blocks C99)? and another weird thing is that the word isn't really changing, the printf still prints:"Hello World".