#include <stdio.h> int main (argc, argv) int argc; char *argv[]; { int a; for (a = 0; a < argc; a++) { printf("arg %d: %s\n", a, argv[a]); } return 0; }