first commit
This commit is contained in:
16
ended/C07-corr/ex03/ft_strjoin.c
Normal file
16
ended/C07-corr/ex03/ft_strjoin.c
Normal file
@ -0,0 +1,16 @@
|
||||
#include <stdio.h>
|
||||
int main (void)
|
||||
{
|
||||
char *sep;
|
||||
char *tab[50];
|
||||
char *j;
|
||||
|
||||
tab[0] = "Hello";
|
||||
tab[1] = "World";
|
||||
tab[2] = "ffdsfadf";
|
||||
sep = ";";
|
||||
j = ft_strjoin(3, tab, sep);
|
||||
printf("%s", j);
|
||||
free(j);
|
||||
return (0);
|
||||
}
|
Reference in New Issue
Block a user