/* argvDemo.c P. Conrad for CISC105 05F 10.31.05 */
/* demonstrating argv */

#include <stdio.h>
#include <stdlib.h> /* atoi conversion */

/* Sample midterm question:

   What will be the result if I type in:

   ./a.out 13
   ./a.out 16
   ./a.out foo
   ./a.out 13feet
   ./a.out 13 inches
   ./a.out 

*/ 

int main(int argc, char *argv[])
{

  printf("atoi(argv[1])=%d\n",  atoi(argv[1]) );

  return 0;

}

