1 2 3 4 5 6 7
#include <stdio.h> int main(int argc, char **argv) { for (int i = 0; i < argc; i++) { printf("arg[%d]: '%s'\n", i, argv[i]); } }