1 2 3 4 5 6 7 8 9 10 11 12
#include <stdio.h> int main (int argc, char **argv) { int i = 0; printf ("%d\n", argc); while (i < argc) printf ("%s\n", argv[i++]); return 0; }