/* * arguments.c - print the number and content of input arguments * * usage: ./arguments [arg1]... * * CS50, Fall 2022 */ #include int main(int argc, char *argv[]) { int i; printf("%d items were input on the command line\n", argc); for (i = 0; i < argc; i++) printf("arguments %d is %s\n", i, argv[i]); return 0; }