title: This programming is compiling but not running. Where's the error?
body: <pre><code>#include&lt;stdio.h&gt;
  
  void main() {
     int a[3];
     a[0]=1;
     a[1]=2;
     a[2]=3;
     printf("%d", a[2]);
  }
  </code></pre>
  
  <p>It isn't showing any errors or warnings. But it isn't running</p>