摘要
在C语言中,函数是实现程序模块化设计思想的手段。函数在调用过程中常常存在着实参和形参之间的数据传递。文章阐述了调用函数的过程中实参和形参之间数据传递的实质和属性,即值传递和单向性。
C's design philosophy is to use functions as building blocks. When a function is called, value of the actual argument is assigned to the variable known as the formal argument. This paper presents that the essence of data transferring from actual argument to formal parameter is value delivery and one-way.
作者
陆向宁
李小梅
LU Xiang-ning, LI Xiao-mei (Hainan Software Professional Institute, Qionghai 571400,China)
出处
《电脑知识与技术》
2007年第9期1457-1457,1473,共2页
Computer Knowledge and Technology
关键词
函数
形参
实参
数据传递
functions
formal parameters
actual arguments
data transferring