TetaTricks/code/arguments.c

17 lines
190 B
C
Raw Normal View History

2021-07-31 08:45:42 +11:00
/*
* afficher les arguments.
*/
#include <stdio.h>
int main(int argc, char *argv[])
{
int foo;
for (foo=0; foo<argc; foo++) {
printf("%3d %s\n", foo, argv[foo]);
}
return 0;
}