全部题库 / C语言 / 试题详情
单选题 C语言
2015-06-30

有以下程序:

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

A.0
B.3
C.7
D.8

参考答案

B

答案解析

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

你可能感兴趣的试题

A.auto和static
B.extern和register
C.auto和register
D.static和register
A.struct ord{int x;int Y;int z;}struct ord a;
B.struct ord{int x;im Y;im z;};struct ord a;
C.struct ord{int x;int Y;int Z;}a;
D.struct{int x;int Y;int z;}a;