早教吧 育儿知识 作业答案 考试题库 百科 知识分享
早教吧考试题库频道 --> 计算机类考试 -->软考中级 -->

● 执行 C 程序代码 “int a = 1; int b = 0; int c = 0; int d = (++a) * (c = 1);”后 a, b, c, d

题目

● 执行 C 程序代码

“int a = 1; int b = 0; int c = 0; int d = (++a) * (c = 1);”后

a, b, c, d 的值分别为 (59) 。

A. 2,0,1,2

B. 1,0,1,1

C. 2,0,1,1

D. 2,0,0,2

参考答案
正确答案:A