问题 单项选择题

下面程序运行结果是( )。
#include <iostream.h>
void main()

int x=10,y=4;
X%=y+1;
cout<<x<<endl;

A.0
B.1
C.2
D.3

答案

参考答案:A

选择题
问答题 简答题