基于C语言函数参数传递规律的探讨  被引量:5

Discussion of Parameter Delivery Law Based on C Language Function

在线阅读下载全文

作  者:杨战海[1] 薛苏秦[1] 张晓光[1] 

机构地区:[1]延安大学计算中心,陕西延安716000

出  处:《现代电子技术》2008年第16期89-91,共3页Modern Electronics Technique

基  金:延安大学专项科研基金(自然类)(YDK2006-19)

摘  要:函数是C语言的基本单位,函数的参数传递采用单向的值传递方式。当指针作为函数参数时,进行的是地址传递,地址传递依然是单向的值传递方式,并不是双向的传递方式。使用局部变量的有关知识,用图示法分析探讨函数的各种参数传递形式,通过探讨,总结了函数的参数传递规律。图示分析方法是一种全新的分析工具,有一定的推广价值。The function is basical unit of C language, the function parameter delivery adopts transfer way of one-way value. While guiding principle is the function parameter, being in progress is address delivery,as before,address delivery is one-way value transfer way, is really not two- way delivery way. Using relevant part variable knowledge, the various parameter using diagrammatic representation is discussed. By discussion, parameter's dilivery law of the function is proposed. Graphic analysis method in culture is a kind of brand-new analysis implement, has certain extension value.

关 键 词:值传递 地址传递 局部变量 图示法 

分 类 号:TP311[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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