Files
DEV/DEV1.1/TP14/initiale.c
2023-10-17 17:24:54 +02:00

17 lines
262 B
C

#include <stdlib.h>
#include <stdio.h>
#include <string.h>
int main(int argc,char** argv) {
char mot[20];
if (argc > 1){
mot[20]=*argv[1];
mot[20]='\0';
printf("%c\n",(mot[1]));
}
else
puts("aucun argument !");
return EXIT_SUCCESS;
}