TetaTricks/code/arguments.c
2021-08-03 10:23:57 +02:00

17 lines
193 B
C

/*
* 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;
}