S
Stasa Medjedovic
Hello,
one question from me. Let E1, E2, E3 be expressions. Is the order of
expression evaluation defined by the C++ (or C) standard for these
statements (for example):
1. cout << E1 << E2 << E3;
2. f(E1,E2,E3);
3. E1 + E2;
and similar ...
Or it is arbitrary? And, is it bad programming practise for a program
to depend on this order?
Thanks in advance.
one question from me. Let E1, E2, E3 be expressions. Is the order of
expression evaluation defined by the C++ (or C) standard for these
statements (for example):
1. cout << E1 << E2 << E3;
2. f(E1,E2,E3);
3. E1 + E2;
and similar ...
Or it is arbitrary? And, is it bad programming practise for a program
to depend on this order?
Thanks in advance.