42_C_PISCINE/Test/c03/ex02/main.c

24 lines
283 B
C
Raw Permalink Normal View History

2023-05-17 12:45:25 -04:00
#include <stdio.h>
#include <string.h>
int main()
{
char src1[] = "debut";
char dest1[8] = "fin";
strcat(dest1, src1);
printf(dest1);
printf("\n");
char src2[] = "debut";
char dest2[8] = "fin";
ft_strcat(dest2, src2);
printf(dest2);
return 0;
}