有以下程序: #include main() {int a=1,b=2,c=3,x; x=(a+b%c)/c; printf("%d\n",x); } 程序的运行结果是 【 】

admin2017-10-26  31

问题 有以下程序:
  #include
    main()
  {int a=1,b=2,c=3,x;
    x=(a+b%c)/c;
    printf("%d\n",x);
    }
    程序的运行结果是    【    】

选项 A、0
B、1
C、2
D、3

答案B

解析
转载请注明原文地址:https://kaotiyun.com/show/h1kx777K
0

随机试题
最新回复(0)