C语言中函数的参数传递  被引量:3

Parameter passing of function in C language

在线阅读下载全文

作  者:秦玉平 冷强奎[2] 李祥纳 QIN Yuping;LENG Qiangkui;LI Xiangna(College of Engineering,Bohai University,Jinzhou 121013,China;College of Information Science and Technology,Bohai University,Jinzhou 121013,China;Beijing Guo Dian Tong Network Technology Co.,Ltd.,Beijing 100761,China)

机构地区:[1]渤海大学工学院,辽宁锦州121013 [2]渤海大学信息科学与技术学院,辽宁锦州121013 [3]北京国电通网络技术有限公司,北京100761

出  处:《渤海大学学报(自然科学版)》2020年第1期61-65,共5页Journal of Bohai University:Natural Science Edition

基  金:“兴辽英才计划”教学名师项目(XLYC1906015);国家自然科学基金项目(No:61602056);辽宁省自然科学基金项目(No:20180550525).

摘  要:函数是C程序的基本单位,熟练掌握C语言函数参数传递是实现函数功能的关键.针对函数教学中发现的问题,详细阐述了C语言每一种类型数据的参数传递,包括传递时间、传递操作、传递内容和数据访问等,并通过具体实例进行详细解析,以便于学习者深入透彻地掌握传值和传址的区别,并选取恰当的函数参数实现程序设计.The function is the basic unit of the C program.Proficiency in C language function parameter passing is the key to realizing function functions.The parameter passing of each type of data in C language is explained in detail in this paper,include passing time,passing operation,passing content and data access,etc.,and analyze it in detail through examples.In this way,the learner can quickly grasp the difference between the passed value and the passed address,and select the appropriate function parameters to achieve programdesign.

关 键 词:C语言 函数 参数传递 传递规则 

分 类 号:TP181[自动化与计算机技术—控制理论与控制工程]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象