-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain_strjoin.c
More file actions
23 lines (21 loc) · 1.11 KB
/
main_strjoin.c
File metadata and controls
23 lines (21 loc) · 1.11 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* main_strjoin.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: framos-p <framos-p@student.42barcel> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/05/26 11:08:08 by framos-p #+# #+# */
/* Updated: 2022/05/26 16:45:19 by framos-p ### ########.fr */
/* */
/* ************************************************************************** */
#include "libft.h"
int main(void)
{
char const s1[] = "Hola Paco";
char const s2[] = "Bienvenido";
char *new;
printf("Antes de funcion: %s\n,%s\n", s1, s2);
printf("Despues de la funcion: %s\n", new = ft_strjoin(s1, s2));
return (0);
}