summaryrefslogtreecommitdiffhomepage
path: root/c.html.markdown
diff options
context:
space:
mode:
Diffstat (limited to 'c.html.markdown')
-rw-r--r--c.html.markdown4
1 files changed, 2 insertions, 2 deletions
diff --git a/c.html.markdown b/c.html.markdown
index 78083ea5..f5b6245d 100644
--- a/c.html.markdown
+++ b/c.html.markdown
@@ -297,8 +297,8 @@ int add_two_ints(int x1, int x2){
}
/*
-Pointers are passed-by-reference (duh), so functions
-can mutate their values.
+Functions are pass-by-value, but you can make your own references
+with pointers so functions can mutate their values.
Example: in-place string reversal
*/