Skip to content

Commit

Permalink
Merge pull request walu#80 from bupt1987/patch-7
Browse files Browse the repository at this point in the history
标题错误修改
  • Loading branch information
walu authored Oct 20, 2016
2 parents 370ec99 + 55c8a52 commit 3804229
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 6.2.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# 6.2 函数返回值
# 6.2 引用与函数的执行结果

一个函数的执行结果要返回给调用者,除了使用return功能,还有一种办法,那就是以引用的形式传递参数,然后在内部修改这个参数的值。前一种方法往往只能返回一个值,如果我们的函数执行结果具有多种数据,便需要把这些数据打包到一个数组、类等复合类型的变量中才能得以实现;但后一种方法相比而言就简单一些了。
### 运行时传递引用:Call-time Pass-by-ref
Expand Down

0 comments on commit 3804229

Please sign in to comment.