单项选择题
设有如下说明:
typedef struct
int n; char c;double x;STD;
则以下选项:能正确定义结构体数组并赋初值的语句是( )。
A.STDtt[2]=1,'A',62,2,'B',75;
B.STDtt[2]=1,"A",62,2,"B",75;
C.struet tt[2]= 1,'A',2,'B';
D.struct tt[2]=1,"A",62.5,2,"B",75.0;
点击查看答案&解析
<上一题
目录
下一题>
热门
试题
单项选择题
有以下程序: main() int i=0,s=0; do if(i%2) i++;continue; i++; s+=i; while(i<7);. printf( %d n ,s); 执行后输出的结果是( )。
A.16
B.12
C.28
D.21
点击查看答案
单项选择题
以下非法的赋值语句是( )。
A.n=(i=2,++i)
B.j++;
C.++(i+1)
D.x=j>0;
点击查看答案&解析
相关试题
有以下程序: main() int a=15,b...
有以下程序: #include <stdio.h> ...
有以下程序: #include <stdio.h> m...
有以下程序: int fun(int x[],int...
有以下程序: main() char s[]= Y...