title: C preprocessor Macro defining Macro
body: <p>Can you do something like this with a macro in <strong>C</strong>?</p>
  
  <pre><code>#define SUPERMACRO(X,Y) #define X Y
  
  then
  
  SUPERMACRO(A,B) expands to #define A B
  </code></pre>
  
  <p>I have a feeling not because the preprocessor only does one pass. </p>
  
  <p>Official gcc only. No third-party tools please.</p>