有以下程序 #include<stdio.h> int

有以下程序

  #include<stdio.h>
  int fun()
  {static int x=1;
  x+=1;return x;
  }
  main()
  {int i;s=1;
  for(i=1;i<=5;i++)s+=fun();
  printf(”%d\n”,s);
  }

  程序运营后的输出结果是

答案
B

题目信息

题号:3259
题型:单选题
难度:普通