问题 单项选择题

下面程序的运行结果是( )。#include <iostream.h>void main(){int x=10, y=A;x%=y+ 1;cout<<x<<end1;}

A.0

B.1

C.2

D.3

答案

参考答案:A

单项选择题
单项选择题