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