why r yew confusing oders...........
as per c,c++, and java too
this statement means(n=10;n=n++) when expanded means
n=10;
n=n;//since n++ is post increment
//and then
n=n+1;//incrementation due to n++ dat mins it has a value now of 11
so the thing is c,c++ are producing sematically correct result i don't
know why java is producing such result of 10(coz c,c++ and java all
have the same operator precedence)

-- 
You received this message because you are subscribed to the Google Groups 
"google-codejam" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-code?hl=en.

Reply via email to