http://www.ideone.com/8iPGF

int main()
{
int i=5;
printf("%d", ++i + ++i + ++i);
return 0;
}

output : 22


why 22?
can anybody spell out the reasons and the general way in which the
expression in evaluated in such cases?

-- 
You received this message because you are subscribed to the Google Groups 
"Algorithm Geeks" 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/algogeeks?hl=en.

Reply via email to