char[] str; char[] str1 = "abc"; str[0] = 'b'; // error, "abc" is read only, may crash Editing str has nothing to do with str1, as far as I know.