libft/ft_strcpy.c
2023-05-27 19:52:39 +02:00

20 lines
173 B
C

#include <stdio.h>
#include <string.h>
int main(){
char str1[10] = "hello";
char str2[10];
printf("%s\n", strcpy(str2, str1));
printf("%s", str2);
return 0;
}