Long time no hear!
Now I have a question, whose answer I don't know.
Take the following piece of code:
How does it work? And why? Does this work in C? Or only in C++? Or viceversa? Or both?
Does the question mark have any connection with the ternary operator ( ?: ) and/or operator precedence ?
If you know the answer please leave a comment.
I have found something new on the matter, now that I have received some comments: see link
Now I have a question, whose answer I don't know.
Take the following piece of code:
n>?=m;
How does it work? And why? Does this work in C? Or only in C++? Or viceversa? Or both?
Does the question mark have any connection with the ternary operator ( ?: ) and/or operator precedence ?
If you know the answer please leave a comment.
But it's still longer than even n = max(n, m);
n = m;