0
Can anyone solve this question, x++*5-6++x, if x = 5
This was a question based on unary operators
2 Answers
0
x++*5-6++x, if x = 5
5 * 5 - 6 + 7 = 26
+ 3
x++*6 = 30 ( x is 5 but increased to 6 )
5*++x = 35 ( x is 7 )
SO,
x++*6-5*++x = -5
This was a question based on unary operators