执行以下程序后,第一行输出结果为,第二行输出结果为。#includevoid sum(int n);int main(){sum(5);sum(6);return 0;}void sum(int n){int i,s=0;for(i=0;i
查看答案
执行以下程序后,第一行输出结果为,第二行输出结果为。#includevoid sum(int n);int main(){sum(5);sum(6);return 0;}void sum(int n){int i;static int s=0;for(i=0;i
执行以下程序后,输出结果为。#includeint n;void f();int main(){n=0;f();n=n+2;printf("%d\n",n);return 0;}void f(){int n=0;n=n+5;}
执行以下程序后,输出结果为。#includeint n;void f();int main(){n=0;f();n=n+2;printf("%d\n",n);return 0;}void f(){n=n+5;}
执行以下程序后,运行结果为。#includeint n;void f();int main(){n=2;f();return 0;}void f(){int n=0;n=n+5;printf("%d\n",n);}