Hi all I stumbled upon this piece of code today and I am confused as to what exactly happens and more particular in what order :
Code :
#include &l
The order of evaluation is unspecified, see http://en.wikipedia.org/wiki/Sequence_point
This is the same situation as the example with the operator+ example:
Consider two functions
f()
andg()
. In C and C++, the+
operator is not associated with a sequence point, and therefore in the expressionf()+g()
it is possible that eitherf()
org()
will be executed first.