Wanting to make sure the following leads to defined behavior (i.e. C standard). . .
Are the arguments always evaluated left to right so that printf would report the intended value of n in each case?Code:double x1, x2, n; x1 = . . . x2 = . . . printf("%f %f %f %f", modf(x1, &n), n, modf(x2, &n), n);
Thanks.
Scott