以下语句不能实现字符串变量定义的是:
A、char *s = "Hello world";;
B、char s[] = "Hello world";;
C、char s[30] = {'H', 'e', 'l', 'l', 'o', ' ', 'w', 'o', 'r', 'l', 'd', '\0'};;
D、char s[] = {'H', 'e', 'l', 'l', 'o', ' ', 'w', 'o', 'r', 'l', 'd'};
发布时间:2025-07-25 19:37:10