#include #include int main(int argc, char *argv[]) { cout << argc << endl; // the argument count cout << argv[0] << endl;// The zeroeth argument string // The command as inputto UNIX cout << argv[1] << endl;// The first argument to the command if(argc>1)cout << argv[2] << endl;// The 2nd argument to the command return 0; }