Increment char pointer
<p>The following code gives a seg fault at second line:</p>

<pre><code> char *tester = "hello";
 char a = (*tester)++;  // breaks here
 printf("Char is %c\n", a);
</code></pre>

<p>The following code works:</p>

<pre><code> char *tester = "hello";
 a = *tester;
 a++;
 printf("Char is %c\n", a);

 // prints i
</code></pre>

<p>Why can't it be done in one operation?  </p>