title: GCC Incremeting Macro
body: <p>i defined a macro like this</p>
  
  <pre><code>#define NoisyInc(x) (puts("incrementing"), (x)++)
  int NINC;
  NINC=NoisyInc(5);
  printf("NoisyInc is %d\n",NINC);
  </code></pre>
  
  <p>But while building the program am getting this error</p>
  
  <pre><code>C:\Users\DTS\Desktop\macros.c|36|error: lvalue required as increment operand|
  </code></pre>
  
  <p>What will be the reason?</p>