#include #include using namespace std; #define MIN(a, b) ((b) < (a) ? (b) : (a)) int f(); inline int g() {cout << "g returns 40\n"; return 40;} int main() { int i = 10; int j = 20; int m = MIN(++i, ++j); cout << "i == " << i << ", j == " << j << ", m == " << m << "\n"; m = MIN(f(), g()); cout << "The minimum return value was " << m << ".\n"; return EXIT_SUCCESS; } int f() { static int n = 10; n += 20; cout << "f returns " << n << "\n"; return n; }