Compiler Error: "expected specifier-qualifier-list"
<pre><code>int main()
{
    typedef struct a
    {
        static int w;
        char *p;
    } a;
}
</code></pre>

<p>on compiling it gives <code> error:expected specifier-qualifier-list before 'static'</code>
could u please tell me what this error means and how to remove it?</p>
