Get closer to the machine level and consider how a computer actually stores values (i.e. all variables are numbers) and it’ll make sense.
It certainly works in C; claiming a syntax error isn’t really in the spirit of the question. I wrote an answer in response to the original problem comment.
7
u/OmarRIP Jan 05 '19
He’s asking the value of the expression — never said it’s a statement. It’s an analogous question to “what’s the value of [the expression]
5 + 3.”