An issue about c/c++ Segmentation fault
<p>I wrote a simple program to test array pointer:</p>

<pre><code>    #include &lt;iostream&gt;

    using namespace std;

    int main(){
        int (*array)[10];
        int i, j;
        for (i = 0; i &lt; 10; i++){
            for (j = 0; j &lt; 10; j++)
                array[i][j] = 1;
        }
        for (i = 0; i &lt; 10; i++){
            for (j = 0; j &lt; 10; j++)
                cout &lt;&lt; array[i][j] &lt;&lt; " ";
            cout &lt;&lt; endl;
        }
        return 0;
    }
</code></pre>

<p>why the g++ "Segmentation fault"?
by the way, my os is ios x64.</p>

<p>Thanks
Chuan</p>
