开放大学在线学习搜题
当前位置:首页 > 学习题库 > C语言程序设计

问题

C语言的以下程序段中,不能正确赋字符串(编译时系统会提示错误)的是( )

发布时间:2025-12-04   作者:江苏开放大学   浏览:0

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”;

您可能感兴趣的试题