C语言函数的递归调用  被引量:3

Recursive call of function in C language

在线阅读下载全文

作  者:秦玉平[1] 冷强奎 马靖善[3] QIN Yuping;LENG Qiangkui;MA Jingshan(College of Mathematical Sciences,Bohai University,Jinzhou 121013,China;School of Electronic and Information Engineering,Liaoning Technical University,Huludao 125105,China;College of Information Science and Technology,Bohai University,Jinzhou 121013,China)

机构地区:[1]渤海大学数学科学学院,辽宁锦州121013 [2]辽宁工程技术大学电子与信息工程学院,辽宁葫芦岛125105 [3]渤海大学信息科学与技术学院,辽宁锦州121013

出  处:《渤海大学学报(自然科学版)》2022年第1期76-82,共7页Journal of Bohai University:Natural Science Edition

基  金:“兴辽英才计划”教学名师项目(XLYC1906015);国家自然科学基金项目(No:22078024);教育部产学合作协同育人项目(No:202102527018);辽宁省普通高等教育本科教学改革研究项目(No:20210637).

摘  要:函数的递归调用是C语言的重点,也是学习C语言的一个难点.针对教学过程中发现的问题,通过实例对C语言的函数递归调用进行了详细阐述,包括递归函数定义、递归调用条件、递归函数设计、递归调用执行过程和递归转换成非递归的方法.以便于学习者深入理解递归调用的运行机制,并合理使用递归调用进行程序设计.The recursive call of function is not only the focus of C language,but also a difficulty in learning C language.Aiming at the problems found in the teaching process,this paper expounds in detail the recursive call of functions in C language through examples,including recursive function definition,recursive call conditions,recursive function design,recursive call execution process and methods to convert recursion into non-recursion.It is facilitate for learners to deeply understand the operation mechanism of recursive call and reasonably use recursive call for programming.

关 键 词:C语言 函数 递归 非递归 

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

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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