DEV/DEV1.1/TP08/initiales.c

17 lines
253 B
C

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
int main(int argc, char const *argv[])
{
if (argc<2){
printf("argument manquant");
return 1;
}
for (int i = 1; i < argc; i++)
{
printf("%c",argv[i][0]);
}
printf("\n");
return 0;
}