12 lines
189 B
C
12 lines
189 B
C
/* Arguments */
|
|
|
|
#include <stdlib.h>
|
|
#include <stdio.h>
|
|
|
|
int main(int argc, char *argv[]) {
|
|
int i;
|
|
for (i = 0; i < argc; i++) {
|
|
printf("argv[%d]=%s\n", i, argv[i]);
|
|
}
|
|
}
|