设变量定义为char s【】=”hello \nworld \ n”;则数组s中有几个元素A 12 B13 C14 D15是哪十二个元素?\不算元素吗?

来源:学生作业帮助网 编辑:六六作业网 时间:2024/07/31 12:37:05
设变量定义为chars【】=”hello\nworld\n”;则数组s中有几个元素A12B13C14D15是哪十二个元素?\不算元素吗?设变量定义为chars【】=”hello\nworld\n”;则

设变量定义为char s【】=”hello \nworld \ n”;则数组s中有几个元素A 12 B13 C14 D15是哪十二个元素?\不算元素吗?
设变量定义为char s【】=”hello \nworld \ n”;则数组s中有几个元素
A 12 B13 C14 D15
是哪十二个元素?\不算元素吗?

设变量定义为char s【】=”hello \nworld \ n”;则数组s中有几个元素A 12 B13 C14 D15是哪十二个元素?\不算元素吗?
“\n”是一个字符,表示回车......\其实是个转义符.