black

登录

单项选择题

有以下程序:
#include <stdio.h>
main()
{ char s[10]="verygood", *ps=s;
ps+=4;
ps="nice";
puts(s);
}
程序的运行结果是______。

A.nice
B.verynice
C.nicegood
D.verygood
相关考题

单项选择题 以下不能将键盘输入的字符串:This is a string<回车>读入到str中的程序段是______。

单项选择题 设有以下说明和语句:int x[3][4],(*p)[4];p=a;,则与表达式*(* p+2)等价的选项是______。

单项选择题 若有定义语句:int m[][3]={1,2,3,4,5,6,7};,则与该语句等价的是______。

All Rights Reserved 版权所有©PP题库网库(pptiku.com)

备案号:湘ICP备14005140号-5

经营许可证号:湘B2-20140064