title: Behaviour of scanf()
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/3440406/confusion-in-scanf-with-operator">confusion in scanf() with &amp; operator</a>  </p>
  </blockquote>
  
  
  
  <p>Why we need a &amp; in scanf for inputting integer and why not for characters.
  Do the &amp; in scanf refers to merory location while getting input.</p>
  
  <p>Eg:-</p>
  
  <pre><code>main()
  {
  int a;
  char c;
  
  scanf("%d",&amp;a);
  scanf("%c"c);
  }
  </code></pre>