From 0c1ca982056f90d43fea6be7322dad812bbfc044 Mon Sep 17 00:00:00 2001 From: wolfwhocodes <40625914+wolfwhocodes@users.noreply.github.com> Date: Mon, 22 Oct 2018 22:56:06 +0530 Subject: [PATCH] Array variables have same data type (#23142) An array is a set of homogeneous data. It's important to note that the variables in an array are always of the same data type. --- 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 3f8bd29052..132ada5a5e 100644 --- a/guide/english/c/arrays-and-strings/index.md +++ b/guide/english/c/arrays-and-strings/index.md @@ -65,7 +65,7 @@ int main(void) { ``` ## Strings -Arrays are sets of variables, and strings are sets of characters. As a result, we can represent strings with an array. You _can_ declare something in the same way as before, but you'll need to place '\0' as one of your values (more on that in a minute!): +Arrays are sets of variables of the same data type, and strings are sets of characters. As a result, we can represent strings with an array. You _can_ declare something in the same way as before, but you'll need to place '\0' as one of your values (more on that in a minute!): ```C char hello_world[] = {'H', 'e', 'l', 'l', 'o', ' ', 'w', 'o', 'r', 'l', 'd', '!', '\0'}; ```