title: print a 2D array in C
body: <p>I was wondering if it was possible to print a 2D array in C like it is in python. For example, if I have <code>int array1[10][10];</code> then fill in the array then <code>printf("%li", array1)</code> does not seem to work. In C, is there something like <code>printf</code> that can print <code>array1</code> as <code>[1, 2, 3, 4]</code>? in python it would just be <code>print(array1)</code></p>