The Algo Blog
Blog on algorithms, puzzles, programming .... musings of a computer engineer.
Weird expressions (Maximal Munch)
Is the expression a+++++b valid? Similarly is a++++ valid?
Answer:
[1]
for discussion on a+++++b, see [1]
a++++ is invalid, because, a++ returns a rvalue, so the next ++ operator cannot be applied
on the rvalue.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment