单项选择题
有以下程序:
#include <stdio.h>
struct st
int x,y;data[2]=1,10,2,20;
main()
struct st *p=data;
printf("%d,",p->y); printf("%d\n",(++p)->x);
程序的运行结果是( )。
A.10,1
B.20,1
C.10,2
D.20,2
点击查看答案
<上一题
目录
下一题>
热门
试题
单项选择题
有如下函数调用语句: func(rec1,rec2+rec3,(rec4,rec5)); 该函数调用语句中,含有的实参个数是( )。
A.3
B.4
C.5
D.有语法错误
点击查看答案
单项选择题
有以下程序: void main() char str[][10]= China , Beijing ,*p=str[0]; printf( %s n ,p+10); 程序运行后输出的结果是( )。
A.China
B.Beijing
C.ng
D.ing
点击查看答案
相关试题
有以下程序: #include <string.h> ...
有以下程序: #include <stdio.h> s...
在C语言中,只有在使用时才占用内存单元的...