/*************************************************/
// initialValue.cpp
// R. A. Hillyard
// Last Modified: 02/05/2001
//
// shows initial values for uninitialized variables
/*************************************************/

#include <iostream>
using namespace std;
int main()
  { 
  int i;
  double x;
  char c;

  cout << "The initial values are:\n";
  cout << "i=" << i << endl; 
  cout << "x=" << x << endl; 
  cout << "c=" << c << endl; 
  return 0;
  }

####################### initialValueRun.txt #######################
The initial values are:
i=134519452
x=4.87483e-270
c=¿
####################################################################

/*************************************************/
// initialValue2.cpp
// R. A. Hillyard
// Last Modified: 02/05/2001
//
// shows assignment of initial values for variables
/*************************************************/
#include <iostream>
using namespace std;

int main()
  { 
  int i = 5;
  double x = 350.52;
  char c = 'A';

  cout << "The initial values are:\n";
  cout << "i=" << i << endl; 
  cout << "x=" << x << endl; 
  cout << "c=" << c << endl; 

  return 0;
  }

####################### initialValueRun2.txt #######################
The initial values are:
i=5
x=350.52
c=A
####################################################################