请在 下方输入 要搜索的题目:

有以下程序 #include <stdio.h> int f(int n); main() { int a=3,s; s=f(a);s=s+f(a);printf(“%d”,s); } int f(int n) { static int a=1; n+=a++; return n; } 程序运行以后的输出结果是


A、7;
B、8;
C、9;
D、10

发布时间:2026-01-13 21:54:19
推荐参考答案 ( 由 题搜搜 官方老师解答 )
答案:9
登录 - 搜搜题库网
立即注册
注册 - 搜搜题库网
立即登录