title: Initialize typedef of int arrray within definition?
body: <p>Doing practice questions for a 1st Year Programming "101" exam. Trying something and I'm not sure its possible.</p>
  
  <p>Q. <em>Give a type definition suitable for representing the assignment marks for 10 students and initialised all marks to zero.</em></p>
  
  <p>As I interpret that the examiner wants the def and initialisation to be done together. Otherwise Id just make a struct and initialize it after. </p>
  
  <pre><code>typedef int foobar[10]; //is accepted but is not initialised
  typedef int foobar[10] = {0}; //Error " , expected"
  typedef int foobar[10] = {0,0,0,0,0,0,0,0,0,0}; //Error " , expected"
  </code></pre>
  
  <p>Is it possible to do what I'm attempting or does initialization have to be done separately? </p>
  
  <p>NB: All the previous questions I could find related to structs where Im specifically looking at an array of int. </p>