期刊文献+

C语言的函数参数传递规律探析 被引量:1

Analysis of the Transfer Law of Function Parameters in C Language
在线阅读 下载PDF
导出
摘要 参数传递是C语言函数的难点,也是很多学生容易混淆的易错点;采用三个典型例子做实例,用函数调用过程的示意图和程序运行结果图,分析了实参是普通变量、变量的地址和数组名时,实参向形参传递数据的规律,帮助学生能直观理解参数传递的难点内容,提高学生的编程能力。 Parameter passing is a difficult point of C language function,and it is also an error-prone point that many students are easily confused.In this paper,three typical examples are used as examples.The schematic diagram of the function calling process and the program running result graph are used to analyze the law of the actual parameter,the address of the variable and the name of the array,and the data of the actual parameter to the formal parameter,so as to help students understand the difficult contents of parameter transmission intuitively and improve students'programming ability.
作者 杨智明 Yang Zhiming(School of Information,Baoshan University,Baoshan Yunnan 678000)
出处 《保山学院学报》 2019年第5期80-83,共4页 JOURNAL OF BAOSHAN UNIVERSITY
关键词 C语言 参数 传递 C language Parameters Transfer
  • 相关文献

参考文献2

二级参考文献9

共引文献12

同被引文献14

引证文献1

二级引证文献1

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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