单选题

下列程序的运行结果是(&nbsp )&nbsp #incl...

发布于 2022-03-03 15:16:03

下列程序的运行结果是(  ) 
#include
int a=2
int fun(auto int n)
{
 static int a=4
  int t=1
  if(n/2){
    int a=0
    t+=++a
  }
  else {
    static int a=1
    t+=a++
  }
  return t+a++
}
main()
{
 int sum=a, i
  for( i=0 i<=3 i++) sum+=fun(i)
  printf("%d\n", sum)
}


登录后免费查看答案
关注者
0
被浏览
19
知识点
面圈网VIP题库

面圈网VIP题库全新上线,海量真题题库资源。 90大类考试,超10万份考试真题开放下载啦

去下载看看