C – initialize a two dimensional global static array of structs that contain more than one array
<p>I want to Initialize a two dimensional global static array of structures that contains arrays in it.
The following doesn’t seems to work.</p>

<pre><code>struct MyStuct{
    int a;
    int b;
    int c[2];
    int d[2];
};
STATIC MyStuct[2][3] = {
{{1,1,{1,1},{1,1}},
{2,2,{2,2},{2,2}},
{3,3,{3,3},{3,3}}},
{{7,7,{7,7},{7,7}},
{8,8,{8,8},{8,8}},
{9,9,{9,9},{9,9}}}
};
</code></pre>

<p>Any suggestions? </p>

<p>Thanks</p>