void foo () { static int x=0; x++ ; cout << " in foo x = " << x << endl; }
using namespace std;
int a; void foo() { a ++; }