基本信息
文件名称:《C语言程序设计》课件_第4章函数.ppt
文件大小:216 KB
总页数:38 页
更新时间:2025-09-19
总字数:约1.14万字
文档摘要

【例4.13】直接递归调用。

voidfun()

{printf(functionfunbegin.\n);

fun();

printf(functionfunend.\n);

}

【例4.14】间接递归调用。voidf1(){printf(functionf1begin.\n);f2(),printf(functionf1end.\n);}voidf2(){printf(functionf2begin.\n);f1();printf(functionf2end.\n);}