#include <iostream.h>

int y=1; // globals baaaad
int x;
const int max =100; // global consts good
const char name[] = "Chris";
// no declaration of function f
// wont compile
main()
{  
  void f(int); // function prototype

  int x=1;

  {
    int x=2;

    {
      int x=3;

      cout << x;  // 3
    }

    cout << " " << x; // 2
  }

  cout << " " << x; // 1
  f(y);

}




