The value of the following expression (1235 or 234): (1 + 1,234) is 234. The comma is the comma operator.
It has the lowest precedence, so the "1 + 1" is evaluated first, and then the "234" is evaluated next. The value of an expression with commas, is the value of the last expression separated by a comma.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment