From 2421c5111627e1a87529d9539d7f3d4f0b605233 Mon Sep 17 00:00:00 2001 From: starnakin Date: Wed, 26 Jul 2023 10:28:14 +0000 Subject: [PATCH] Add wiki/strcpy --- wiki/strcpy | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 wiki/strcpy diff --git a/wiki/strcpy b/wiki/strcpy new file mode 100644 index 0000000..527eb21 --- /dev/null +++ b/wiki/strcpy @@ -0,0 +1,14 @@ +# STRCPY +Strcpy (string copy) is a function that takes two chars lists as a parameter and write the second in the first (like strcpy in C) + +## params +1. chars list +2. chars list + +## example +``` +strcpy("y", "o") "y" => "o" +strcpy("y", "") "y" => "" +strcpy("", "o") "" => "o" +strcpy("hello ", "world!") => "world!" +``` \ No newline at end of file