At 08:23 AM 4/20/2004, Palmer, Jean L. wrote:

>Do I have any guarantees that the parameters in a function call will be
>evaluated in order from left to right?  i.e. if I have:
>
>int i = 0;
>myFunction(i++, i);
>
>will it always be called using myFunction(0, 1)  ?

No, C and C++ evaluate parameters right to left.

Pascal evaluates parameters left to right.

Phil Daley          < AutoDesk >
http://www.conknet.com/~p_daley





Reply via email to