array of constant pointers
<p>Ok, I know that this is invalid</p>

<pre><code> char char_A = 'A';
    const char * myPtr = &amp;char_A;
    *myPtr = 'J'; // error - can't change value of *myP
</code></pre>

<p>[Because we declared a pointer to a constant character]</p>

<p>Why is this valid?</p>

<pre><code> const char  *linuxDistro[6]={ "Debian", "Ubuntu", "OpenSuse", "Fedora", "Linux Mint", "Mandriva"};

for ( int i=0; i &lt; 6; i++) 
cout &lt;&lt; *(linuxDistro+i)&lt;&lt; endl;

*linuxDistro="WhyCanIchangeThis";// should result in an error but doesnt ? 
for ( int i=0; i &lt; 6; i++) 
cout &lt;&lt; *(linuxDistro+i)&lt;&lt; endl;
</code></pre>

<p>Thanks for looking!</p>
