title: Ternary Operation in C
body: <p>I have a technical question regarding the ternary operation in C.
  Let's assume we have the following program:</p>
  <pre><code>#include &lt;stdio.h&gt;
  #define M(a, b) (b? (a / b) : (a + b))
  int main()
  {
     int x = 10, y = 3;
     printf(&quot;%d\n&quot; , M(x + y , x - y));
  }
  </code></pre>
  <p>in the macro, what is the meaning of the question b?
  Also , I know that the final answer is 7, but how is it 7?</p>