int max (int x, int y) { return x > y ? x : y; } int main () { int i; int x = 0; for (i = 0; i < 1000000; i++) x = max (x, i); return 0; } // main