forked from pulgamecanica/42Course
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest00.c
More file actions
25 lines (22 loc) · 1.09 KB
/
Copy pathtest00.c
File metadata and controls
25 lines (22 loc) · 1.09 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* test.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: arosado- <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2021/09/12 16:01:25 by arosado- #+# #+# */
/* Updated: 2021/09/12 16:01:28 by arosado- ### ########.fr */
/* */
/* ************************************************************************** */
#include <stdio.h>
char *ft_strcpy(char *dest, char *src);
int main(void)
{
char *src;
char dest[13];
src = "Don't Panic!";
printf("Source: %s\n", src);
ft_strcpy(dest, src);
printf("Copied: %s", dest);
}