title: What is the difference between macro constants and constant variables in C?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/1674032">“static const” vs “#define” in C</a>  </p>
  </blockquote>
  
  
  
  <p>I started to learn C and couldn't understand clearly the differences between macros and constant variables.</p>
  
  <p>What changes when I write,</p>
  
  <pre><code>#define A 8
  </code></pre>
  
  <p>and </p>
  
  <pre><code>const int A = 8
  </code></pre>
  
  <p>?</p>