title: "too many braces around scalar initializer" error when using 2d array in C
body: <p>I am still learning C but when I try and use a 2d array I get the errors:</p>
  
  <blockquote>
  <pre><code>/Users/harry/Dropbox/C/Practise/test_1/main.c:157:9: error: expected expression
  int[,] numberGrid = {  
     ^   
  /Users/harry/Dropbox/C/Practise/test_1/main.c:158:9: warning: too many braces  
  around scalar initializer [-Wmany-braces-around-scalar-init]  
      {1, 2, 3 },
  </code></pre>
  </blockquote>
  
  <p>My code is:</p>
  
  <pre><code>int main() {
      int[,] numberGrid = {
          {1, 2, 3 },
          {4, 5, 6 },
          {7, 8, 9 }
      };
  
      printf("%d\n", numberGrid[1, 1]);
  }
  </code></pre>