C++: int x[+30] is a valid declaration?
<p>I have been studying arrays these days. I have come across a declaration of an array and initialization of its element in this manner :</p>

<pre><code>int x[+30];
x[+1]=0;
</code></pre>

<p>This is confusing me a little. I have the concept in mind that when we write:</p>

<pre><code>x[n]=0;
</code></pre>

<p>Then it means:</p>

<pre><code>*(x+n)=0;
</code></pre>

<p>Then writing <code>x[+1]</code> would mean <code>*(x++1)</code> and this seems invalid. Please correct me for the mistake I am making in understanding this concept.</p>