Unable to dereference
<p>In the following code, why is not possible to do this dereferencing: <code>*arr = 'e'</code>. Shouldn't the output be the character <code>'e'</code>?</p>

<pre><code>int main ()
{
    char *arr = "abt";
    arr++;
    * arr='e'; // This is where I guess the problem is occurring.
    cout &lt;&lt; arr[0];

    system("pause");

}
</code></pre>

<p>I am getting the following error:</p>

<blockquote>
  <p>Unhandled exception at 0x00a91da1 in Arrays.exe: 0xC0000005: Access violation writing location 0x00a97839.</p>
</blockquote>
