Answer to Question function-3

The order in which the parameters are evaluated is not defined. So you will not nessarily know what you will get.

Note. The order in which the results of the parameter expressions are passed to the function is defined. It is the order in which the results are obtained before passing them to the function that is not specified by the definition of C++.