Sunday, March 14, 2010

Function Call Order

In this statement:

i = f() + g();

The order in which the functions are called is not specified.

Reference: "C++ Gotchas" by Stephen C. Dewhurst, Addison-Wesley, 2002., p. 37

No comments:

Post a Comment