From c90dfd2f81149d8b4b4edec12aec17c10efc3aad Mon Sep 17 00:00:00 2001 From: katiepillar6 <44276821+katiepillar6@users.noreply.github.com> Date: Wed, 14 Nov 2018 07:14:44 -0800 Subject: [PATCH] Return 0 (#21561) Added return 0 statement to the end of the code, to ensure a properly compiling program. --- guide/english/c/for/index.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/guide/english/c/for/index.md b/guide/english/c/for/index.md index a5d385f724..0a93baf112 100644 --- a/guide/english/c/for/index.md +++ b/guide/english/c/for/index.md @@ -34,6 +34,8 @@ int main () { for (int i = 0; i < 5; i++) { printf("Item on index %d is %d\n", i, array[i]); } + + return 0; } ```