DEV/DEV1.1/TP08/initiales.c

20 lines
272 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;
}
{
/* code */
}
for (int i = 1; i < argc; i++)
{
printf("%c",argv[i][0]);
}
printf("\n");
return 0;
}