title: Why does scanf require & when scanning integers but not when scanning string?
body: <p>When I use scanf for getting an integer I have to use the address operator <code>&amp;</code></p>
  
  <pre><code>int number;
  scanf("%d",&amp;number);
  </code></pre>
  
  <p>However this does not work with scanning strings.</p>
  
  <pre><code>char word[256];
  scanf("%s",word);
  </code></pre>
  
  <p>has to be used. It does not work when I use the &amp; operator. Why is this.</p>