#include using namespace std; extern int foo; int main( int argc, char* argv[] ) { cout << "foo= " << foo << endl; return 0; }// main