#include #include #include #include using namespace std; void funkcija() { static int c = 0; c++; cout << c << endl; } int main() { for(int i = 0; i < 10; i++) { funkcija(); } return 0; }