Thanks Roberto and Rob for your input on this.
The order of evaluation for the arguments of a function is not defined by the standard.