title: How to change a character in a string using pointers?
body: <p>im having troubles with this code</p>
  
  <pre><code>int main() {
       char *My_St = "abcdef";
       *(My_St+1)='+';
       printf("%s\n",My_St);
       return 0;
  }
  </code></pre>
  
  <p>i built this code and has no errors, but when i try to run it, it throws a segmentation fault, could someone tell what's wrong</p>