title: How to define a c macro with multiple statement
body: <p>I am trying to define a macro that has two line/statements, it's like:</p>
  
  <pre><code>#define FLUSH_PRINTF(x) printf(x);fflush(stdout);
  </code></pre>
  
  <p>but it can't work due to the limit that C macros cannot work with ';'.</p>
  
  <p>Is there any reasonable way to work around it?</p>
  
  <p>P.S.:  <strong>I know the upper example is weird and I should use something like a normal function.</strong>  but it's just a simple example that I want to question about <strong>how to define a multiple statement Macro</strong>.</p>