Conditional expression : <p>so I'm studying for my exam and I do not understand how can I solve this conditional expression. I know that if the expression 1 is true, I do the expression 2, and if it is false, I do the expression 3. Can someone help me understanding what I need to do in the first expression?</p>

<pre><code>int A = -1, B = -2, C = -3;
int X = 1;
(X = B != C) ? (A = (~C) - A--) : (++C + (~A));
printf(" A = %d  B = %d  C = %d  X = %d\n", A, B, C, X);
</code></pre>
