赞题库-背景图
单项选择题

下面选项中的程序段,没有编译错误的是______。

A.char*sp, s[10]; sp="Hello";
B.char*sp, s[10]; s="Hello";
C.char str1[10]="computer", str2[10]; str2=str1;
D.char mark[]; mark="PROGRAM";