Files
DEV/DEV1.1/TP14/initiale.c

16 lines
281 B
C
Raw Permalink Normal View History

2023-10-17 17:24:54 +02:00
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
int main(int argc,char** argv) {
2023-10-23 14:34:03 +02:00
int argument;
if (argc>0){
for (argument=1;argument!=argc;argument++)
printf("%c\n",(argv[argument][0]));
2023-10-17 17:24:54 +02:00
}
else
puts("aucun argument !");
return EXIT_SUCCESS;
}