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.
2.1m questions
2.1m answers
60 comments
57.0k users