Skip to content

Commit ecf5d9f

Browse files
JesseWilliamsonronreiter
authored andcommitted
minor improvements to grammar and sentence structure
Before this change, this introduction contained several grammatical errors and was difficult to read due to poor sentence structure.
1 parent aee01e7 commit ecf5d9f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tutorials/learn-c.org/en/Function arguments by reference.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
Tutorial
22
--------
33

4-
Assumingly, you already know pointers and functions, so you are aware that function arguments are passed by value, which means they are copied in and out of functions.
5-
But what if we pass pointers to values instead of the values themselves? This will enable us to give functions control over variables and structures of the parent functions, and not just a copy of them, thus directly reading and writing the original object.
4+
Assuming you now understand pointers and functions, you are aware that function arguments are passed by value, by which means they are copied in and out of functions.
5+
But what if we pass pointers to values instead of the values themselves? This will allow us to give functions control over the variables and structures of the parent functions and not just a copy of them, thus directly reading and writing the original object.
66

77
Let's say we want to write a function which increments a number by one, called `addone`. This will not work:
88

0 commit comments

Comments
 (0)