#include #include #include main(int argc, char** argv) { int i, n,j,m; printf("argc = %d\n", argc); n = argc; for(i = 0; i < n; i++) { printf("From the command line, as a string you have\n"); printf("%s\n", *(argv + i)); /* Get the length of each string, to access each character */ m = strlen(*(argv+ i)); printf("Print out each character of the string\n"); for(j = 0; j < m; j++) { printf("%c\n", *(*(argv+i)+j)); } } }