字符串"8+a=b\n\r"的长度为

admin2021-02-22  55

问题 字符串"8+a=b\n\r"的长度为

选项 A、14
B、7
C、9
D、16

答案B

解析 本题考查字符常量中转义字符常量,\n,\r为转义字符,只占一个字节,所以该字符串的长度为7。选项B正确。
转载请注明原文地址:https://kaotiyun.com/show/97yp777K
0

相关试题推荐
最新回复(0)