5.4 分析下列程序的输出结果
1.
#include
int fun(int n)
{
int p(1),s(0);
for(int i(1);i { p*=i; s+=p; } return s; } void main() { int s=fun(4); cout< } 答: 9 2. #include void fun(); void main() { for(int i(0);i<4;i++) fun(); } void fun() { int a(0); a++; static int b; b++; cout<<"a="<
2018年全国计算机等级考试调整方案
[考试动态]2017年11月20日全国计算机等级考试计算机基础及Photoshop应用试题答案汇总(6套)
[Photoshop应用]2017年2月3日全国计算机等级考试四级数据库系统工程师试题及答案汇总(22套)
[数据库工程师]2017年2月2日全国计算机一级考试模拟试题及答案300题
[WPS Office应用]2017年1月22日2017年3月全国计算机等级考试报名时间及报名入口汇总
[考试动态]2017年1月3日