here is my code

Code:
.

int x = 5

int main()
{
int x=3;
cout<<x;

f1();
f2();
f3();
f1();
f2();
f3();
}
void f1();
}

intx=7'
x++
cout<<x;
}
void f2();
}
x++;
cout<<x;
}
void f3();
{
static int x=10;
x++;
cout<<x;
}
i get the output of the first 4 functions, and i know that static retains its value, but when i get to the fith output i get lost and don't know were to start again, please help.
thanks