专注于互联网--专注于架构

最新标签
网站地图
文章索引
Rss订阅
这是一个递归函数调用的例子。程序中函数f o r w a r d _ a n d _ b a c k w a r d s ( )的功能是显示一个字符串后反向显示该字符串。[例4-17] 计算1~7的平方及平方和。#include <stdio.h># include<math.h>void header(); / *函数声明* /void square(int number);void ending();int sum; /* 全局变量* /m a i n ( ){int index;h e a d e r ( ) ; / *函数调 [阅读全文] [PDF]
}void head3(void){printf(\"the header3 value is %d\\,nc\"o u n t e r ) ;}运行程序:r u n ¿the headerl value is 23the header2 value is 53the header3 value is 770 1 2 3 4 5 6 index is now 80 1 2 3 4 5 6 index is now 70 1 2 3 4 5 6 index is now 60 1 2 3 4 5 6 index is now 50 1 2 3 [阅读全文] [PDF]
1 共2条 分1页