What will be the order the function calls in the following expression:
a = f1(23, 14) * f2(12/4) + f3();
Does it depend on the compiler?
Order of evaluation of each operand is unspecified in C and C++, which means, in your case, the order of function calling is unspecified as per the Standards.
Note that it is unspecified, not implementation-defined.
1.4m articles
1.4m replys
5 comments
57.0k users