title: Initializer element is not constant in C
body: <p>I'm coming from javascript/php/python and probably I'm missing something, here is the code:</p>
  
  <pre><code>const int a = 50;
  const int c = 100;
  const int d = 100;
  int endX = c + a;
  int endY = d;
  int startX, startY, b;
  </code></pre>
  
  <p>I get</p>
  
  <blockquote>
    <p>ex1.4.c:6: error: initializer element is not constant<br>
    ex1.4.c:7: error: initializer element is not constant</p>
  </blockquote>
  
  <p>Does someone have an explanation?</p>