title: C: print an array
body: <p>I've started learning C yesterday, and the only other language I know is Python.</p>
  
  <p>I'm having some trouble with arrays, because they are quite different from the Python lists.</p>
  
  <p>I tried to print an array, not an element of it, but the array itself.</p>
  
  <pre><code>#include &lt;stdio.h&gt;
  
  int array[3] = {1, 2, 3}
  
  main(){
      printf("%i, %i", array[0], array);
  }
  </code></pre>
  
  <p>What I got is <em>1</em> (obviously), and <em>4210692</em>, which I can't understand from where it comes.</p>
  
  <p>What I wanted to do first, is to make an array of arrays:</p>
  
  <pre><code>float a[1][4];
  float b[4];
  
  a[0] = b;
  main(){
      printf("%f", a[0]);
  }
  </code></pre>
  
  <p>but it returns a strange number, and not something like <em>this is an array</em> as Python does.</p>