diff --git a/guide/english/c/arrays/index.md b/guide/english/c/arrays/index.md index 6da328c543..9aabecfb97 100644 --- a/guide/english/c/arrays/index.md +++ b/guide/english/c/arrays/index.md @@ -57,6 +57,11 @@ int crr[100] = {3}; ``` If you do this, then the first element is going to be `3`, but the rest of them is going to be `0`. +```C +int drr[10] = {0}; +``` +If you want to create an array with all the elements as `0`. + ```C int var = arr[0]; ```