填空题
程序测试分为静态分析和动态测试。其中 【4】 是指不执行程序,而只是对程序文本进行检查,通过阅读和讨论,分析和发现程序中的错误。
【参考答案】
静态分析
热门
试题
单项选择题
有以下程序: int fun(int x[],int n) static iht sum=O, i; for(i=O;i retum sum; main() int a[]=1,2,3,4,5,b[]=6,7,8,9, s=O; s=fun(a,5)+ fun(b,4); plint f( %d n ,s); 程序执行后的输出结果是( )。
A.45
B.50
C.60
D.55