TetaTricks/code/C/arguments.c
2024-09-10 14:27:37 +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;
}