title: Initializing part of a multidimensional array with a list of constants in C
body: <p>Say I have an array</p>
  
  <pre><code>int A[2][2];
  </code></pre>
  
  <p>and I want to initialize only the first row with a list of constants like so</p>
  
  <pre><code>A[0] = {
      1,
      2
  };
  </code></pre>
  
  <p><strong>Unfortunately the compiler returns.</strong></p>
  
  <p><strong>error:</strong> </p>
  
  <pre><code>expected expression before '{' token_.
  </code></pre>
  
  <p>Although this example is small, think big. I know there are some obtuse ways of doing it but it would shock me if there wasn't an efficient solution.</p>