Updated pass-by-reference bit in c tutorial. Fixes #31

This commit is contained in:
Adam 2013-06-28 21:08:58 -07:00
parent 561b879c0d
commit 879d31e2c6

View File

@ -297,8 +297,8 @@ int add_two_ints(int x1, int x2){
} }
/* /*
Pointers are passed-by-reference (duh), so functions Functions are pass-by-value, but you can make your own references
can mutate their values. with pointers so functions can mutate their values.
Example: in-place string reversal Example: in-place string reversal
*/ */