期刊文献+

对C语言函数参数传递的探讨——以交换问题为例

Discussion on C Language Function Parameter Passing——Taking Exchange Problems as Example
下载PDF
导出
摘要 该文讨论了C语言函数中参数传递的方法.C语言是通过函数来实现模块化程序设计的,通过函数调用来实现一定的功能.调用有参函数时,在主调函数和被调函数之间有数据传递.无论是值传递还是地址传递,参数间的数据传递都是单向的,只能由实参传递给形参. The paper discusses the C language function parameter passing.C language function implements modular programming to achieve a certain function by function calls.When calling function with parameters,there is data transfer between the calling function and the called function.Whether it is passed by value and passed by address,the data transfer between the parameters are one-way,and passed only from the actual parameters to the formal parameter.
作者 宋美英
出处 《通化师范学院学报》 2013年第4期32-34,共3页 Journal of Tonghua Normal University
关键词 函数调用 单向传递 值传递 地址传递 function call one-way transfer value passing address passing
  • 相关文献

参考文献3

共引文献12

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部