title: struct array initialization in C
body: <p>Here is part of my code. I would like to initialize only the <code>arraylist[0]</code> as <code>arraylist[0].x = 0</code> and <code>arraylist[0].y = 0</code>. I do not need to initialize the rest of the struct array. How can I do it? Thank you.</p>
  
  <pre><code>#include &lt;stdio.h&gt;
  struct example {
      int x;
      int y;
  };
  struct example arraylist[40];
  
  int main(int argc, char *argv[]){
      printf("%d\n %d\n", arraylist[0].x, arraylist[0].y);
      return 0;
  }
  </code></pre>