0
If x=2; than what is x++++
is it incorrect
5 Respuestas
+ 2
Compile Error , Because x++++ doesn't support by any Compiler ......
+ 2
This is an lvalue error..
x++++ is interpreted as (x++)++ I.e (2++)++ which is an error as increment and decrement can be used on variable[ l value]
+ 1
error
u can do x++ then in other line the same or with a loop
0
kk
0
It looks like operation++ takes lvalue and returns rvalue, so when the second ++ is provided an rvalue in parameter, compiler will submit an error.