x=5
y=++x * ++x
what will be the value of y?
x=5
y=++x * ++x
what will be the value of y?
49 , but i can't understand the logic pls tell
43
scanning from left
5+1=6*6+1=7=42+1
43
hello, rohit
when i run this code the result is 49 not 43?
i am not sure how the compiler works , 43 or 49. please tell sir
Last edited by kareem; 10-29-2007 at 04:43 AM. Reason: want to know more
hi!! answer will be 49.bcz firstly++ poerates than *