单选题:#include<stdio.h>f(int a){int b=0;static int c=3;a=c++,b++;r

  • 题目分类:C语言
  • 题目类型:单选题
  • 查看权限:VIP
题目内容:
#include<stdio.h>
f(int a)
{
int b=0;
static int c=3;
a=c++,b++;return(a);
}
main()
{
int a=2,i,k;
for(i=0;i<2;i++) k=f(a++);
printf("%d\n",k);
}
程序运行结果是( ) A.3
B.6
C.5
D.4
参考答案:
答案解析:

保护率(  )。

保护率(  )。

查看答案

有以下程序:#include <stdio.h>main(){char ch[2][5]={"6937","8254"}

有以下程序:#include main(){char ch[2][5]={"6937","8254"},*p[2]; int i,j,s

查看答案

若有定义和语句:int a[4][3]={1,2,3,4,5,6,7,8,9,10,11,12},(*ptr)[3]=

若有定义和语句:int a[4][3]={1,2,3,4,5,6,7,8,9,10,11,12},(*ptr)[3]=a,*p[4],i;for(i=0;

查看答案

一般来说,流行病学研究的起点是(  )。

一般来说,流行病学研究的起点是(  )。

查看答案

以下程序的输出结果是( )#include <stdio.h>int ast(int x,int y,int *c

以下程序的输出结果是( )#include int ast(int x,int y,int *cp,int *dp){*cp=x+

查看答案