From b25fd77ed2a48c71bce9d92c75795e57f13ca70d Mon Sep 17 00:00:00 2001 From: apurv22 <36675879+apurv22@users.noreply.github.com> Date: Mon, 5 Nov 2018 13:45:07 +0530 Subject: [PATCH] Changed 'method' to 'function' for relevancy. (#25037) --- guide/english/c/functions/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guide/english/c/functions/index.md b/guide/english/c/functions/index.md index adef507dfc..f8024f3148 100644 --- a/guide/english/c/functions/index.md +++ b/guide/english/c/functions/index.md @@ -50,7 +50,7 @@ Now let's take a look at what's inside the brackets: ```C return a / b; ``` -This is pretty straightforward, because this is such a simple function. `a` is divided by `b`, and that value is returned. You've seen `return` before in the `main` function, but now instead of ending our program, it ends the method and gives the value to whatever called it. +This is pretty straightforward, because this is such a simple function. `a` is divided by `b`, and that value is returned. You've seen `return` before in the `main` function, but now instead of ending our program, it ends the function and gives the value to whatever called it. So to recap what this function does- it gets two integers, divides them, and gives them back to whatever called it.