单选题 C语言
题号 #4244535

有以下程序:

程序运行后的输出结果是(  )。

进入在线模考

参考答案

B

答案解析

本题中遇到“\”字符循环结束,所以只统计“\”之前的数字字符,所以为3。

你可能感兴趣的试题

A.auto和static 
B.extem和register 
C.auto和register 
D.static和register
A.struct ord{int x;int y;int z;}struct ord a;
B.struct ord{int x;int y;int z;};struct ord a;
C.struct ord{int x;int y;int z;}a;
D.struct{int x;int y;int z;}a;
找试题 · 找答案 · 找资料 在线模考