单项选择题
在16位IBM-PC机上使用C语言,若有如下定义
struct data
{ int i;
char ch;
double f;
} b;
则结构变量b占用内存的字节数是
A.1
B.2
C.7
D.11
A.1
B.2
C.7
D.11
点击查看答案
<上一题
目录
下一题>
热门
试题
单项选择题
现有如下定义语句 int*p,s[20],i; p=s; 表示数组元素s[i]的表达式不正确的是A.*(s+i) B.*(p+i) C.*(s=s+i) D.*(p=p+i)
A.*(s+i)
B.*(p+i)
C.*(s=s+i)
D.*(p=p+i)
点击查看答案
单项选择题
定义如下变量和数组: int k; int a[3][3]={9,8,7,6,5,4,3,2,1}; 则下面语句的输出结果是 for(k=0;k<3;k++)printf('%d',a[k][k]);A.7 5 3 B.9 5 1 C.9 6 3 D.7 4 1
A.7
B.9
C.9
D.7
点击查看答案
相关试题
The main idea of the story is tha...
When we dream,().
Which of the following is true?(...
Why do some people often dream abo...
If the patient is rational and pos...