17 lines
190 B
C
17 lines
190 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;
|
|
}
|