首页
›
答案
›
题库
›
知到智慧树
›
未分类
C语言的以下程序段中,不能正确赋字符串(编译时系统会提示错误)的是()
C语言的以下程序段中,不能正确赋字符串(编译时系统会提示错误)的是()
A.char s[10]= "hello "
B.char t[]="hello",*s=t
C.char s[10]; strcpy(s, "hello")
D.char s[10]; s= "hello"
正确答案:char s[10]; s= "hello"
标签:
字符串
提示
语言
上一条:
变量的指针,其含义是指该变量的()
下一条:
两个指针变量不可以()。