单项选择题
若要求从键盘读人含有空格字符的字符串,应该使用函数( )。
A.getc()
B.gets()
C.getchar()
D.scanf()
点击查看答案&解析
<上一题
目录
下一题>
热门
试题
单项选择题
设有如下关系表: 则下列操作中,正确的是( )。
点击查看答案&解析
单项选择题
有以下程序段: struct st int x; int * y; * pt; int a[] = 1,2 ,b[] = 3,4; struct st c[2] = 10,a,20,b; pt=c; 以下选项中表达式的值为11的是( )。
A.*pt->y
B.pt->x
C.++pt->x
D.(pt++)->x
点击查看答案&解析
相关试题
有以下程序: #include <stdio.h> m...
执行以下程序后,test.txt文件的内容是(...
有以下程序: #include <stdio.h> i...
有以下程序:#include <stdio.h>fun(...
有以下程序:#inelude <stdio.h>main...