I don't understand this takeaway. Did the author forget a word?
is equivalent to:
a = b > 1 ? 1 : 2
in other languages. Meaning that the if/else statement can be used as an expression that can provide an rvalue of integer type.
I don't understand this takeaway. Did the author forget a word?