有以下程序,程序运行后的输出结果是( ) #include int main() { char str[ ][20]={"One*World", "One*Dream!"}; printf("%s",str[1]); printf("%c\n",*(str[0]+4)); }
A: One*Dream!World
B: One*World!W
C: One One
D: OO
A: One*Dream!World
B: One*World!W
C: One One
D: OO
举一反三
- 有以下程序,程序运行后的输出结果是( ) #include int main() { char str[ ][20]={"One*World", "One*Dream!"}; printf("%s",str[1]); printf("%s\n",str[0]+4); } A: One*Dream!World B: One*WorldOne*Dream C: One One D: OO
- 有以下程序,程序运行后的输出结果是_____ #include int main() { char str[ ][20]={"One*World", "One*Dream!"}; printf("%s",str[1]); printf("%c\n",str[0]+6); } A: One*Dream!World B: One*WorldOne*Dream C: One One D: One*Dream!r
- #include #include main() {char str[][20]={"One*World","One*Dream!"}; char *p=str[1]; printf(“%d,”,strlen(p)); printf("%s ",p); } 程序运行后的输出结果是
- 有以下程序#include <stdio.h>#include <string.h>main(){ char str[ ][20]={“One*World”, “One*Dream!”},*p=str[1];printf(“%d,”,strlen(p));printf(“%s ”,p);}程序运行后的输出结果是()
- 有以下程序#include#includemain(){charstr[][20]={“One*World”,“One*Dream!”},*p=str[1];printf(“%d,”,strlen(p));printf(“%s ”,p);}程序运行后的输出结果是