title: Can a C macro definition refer to other macros?
body: <p>What I'm trying to figure out is if something such as this (written in <strong>C</strong>):</p>
  
  <pre><code>#define FOO 15
  #define BAR 23
  #define MEH (FOO / BAR)
  </code></pre>
  
  <p>is allowed?  I would want the preprocessor to replace every instance of</p>
  
  <pre><code>MEH
  </code></pre>
  
  <p>with</p>
  
  <pre><code>(15 / 23)
  </code></pre>
  
  <p>but I'm not so sure that will work.  Certainly if the preprocessor only goes through the code once then I don't think it'd work out the way I'd like.</p>
  
  <p>I found several similar examples but all were really too complicated for me to understand.  If someone could help me out with this simple one I'd be eternally grateful!</p>