// arrayInit3.cc   P.Conrad 11/26/07
// demo compile error when a function call has no prototype


#include <iostream>
using namespace std;

// There is no function prototype for printArray, 
// so this program will not compile.

int main()
{
  int nums[5] = {22,14,-6,12,9};

  cout << "nums[2]=" << nums[2] << endl;
  
  printArray(nums,5);

  return 0;
}
