// File: extern1.C
//
// Using an external global variable

#include <iostream.h>


// This is a declaration only for a global variable called info
//
extern int info ;


// Function prototype
//
void set_info() ;


main() {
  
  cout << "Initial value of info = " << info << "\n" ;

  set_info() ;
  cout << "After calling set_info(), info = " << info << "\n" ;

  set_info() ;
  cout << "After calling set_info(), info = " << info << "\n" ;
}