From b8569bcc1d88a66bd264f1fde166257410e71570 Mon Sep 17 00:00:00 2001 From: TrollzorFTW Date: Wed, 14 Nov 2018 17:48:46 +0200 Subject: [PATCH] Typo on strcpy (#24848) --- guide/english/c/arrays-and-strings/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guide/english/c/arrays-and-strings/index.md b/guide/english/c/arrays-and-strings/index.md index 7ee2974a65f..f04781026fc 100644 --- a/guide/english/c/arrays-and-strings/index.md +++ b/guide/english/c/arrays-and-strings/index.md @@ -117,7 +117,7 @@ Printing strings is easy, but other operations are slightly more complex. Thankf #### Copying: `strcpy` `strcpy` (from 'string copy') copies a string. For example, this code snippet will copy the contents of the string `second` into the string `first`: ```C -strpy(first, second); +strcpy(first, second); ``` Here is an example of how manual implementation of the strcpy function looks like: