title: Pointer arithmetic with strings
body: <p>I learning these concepts, please help me why the following code is throwing a segmentation fault. 
  My intention in this code is to print capital letter <strong>D</strong> and move to next address. Please explain me. thank u.</p>
  
  <pre><code>main()
  {
      char *ptr="C programming";
      printf(" %c \n",++*ptr);    
  }
  </code></pre>