I am almost new to programming.
I see a lot of questions of this type in many question papers and exams
int j= 5;
int i=0;
i= j++ + ++j + j++ - ++j ;
I always predict the wrong value of variable 'i'. My friends suggested many approaches
but all fails in some or the other such expression.
Is there some universal rule/approach to evaluate such type of expressions?