An interview question on conditional operator
- by nthrgeek
I recently encountered with this question: How to reduce this expression: s73?61:60;.
The hint given was that Instead of using conditional operator we could use a simple comparison which will work fine.
I am not sure but I think it is possible with some GCC extension,although I am unable to figure it out myself.
EDIT:The whole expression is this : s-=s73?61:60