#include <stdio.h> main(int argc, char **argv) { /* program to print arguments from command line */ int i; printf("argc = %d\n\n",argc); for (i=0;i<argc;++i) printf("argv[%d]: %s\n",i, argv[i]); }