int licznik = 0; int f(){ return ++licznik; } int h(int a, int b){ cout << a << " " << b; } ... h(f(), f());