#include <iostream.h>
#include "emptybeer.h"

int main() {
  EmptyBeer beers[50];
  EmptyBeer *lagers[50];

  /* What would the next statement output? */
  cout << beers[25].how_many() << endl;

  for (int i=0; i<50; i++) {
    lagers[i] = new EmptyBeer;
  }

  /* What would the next two statements output? */
  cout << beers[25].how_many() << endl;
  cout << lagers[33]->how_many() << endl;

  for (int i=0; i<49; i++) {
    delete lagers[i];
  }
   
  /* What would the next statement output? */
  cout << lagers[49]->how_many() << endl;

  /* This function is about to return: 
     what should be done at this point? */
}  
