网上学c语言,给你们康康考题
int a=4,b=12,c;,计算如下表达式运算之后,a,b,c的值。表达式:c=--a+a++-b--+--b
a=___(1)_____ b=___(2)_____ c=___(3)_____
???????????????????????????????? c语言规定(Between the previous and next sequence point an object shall have its stored value modified at most once by the evaluation of an expression)两个序列点之间一个对象最多只允许修改一次,他们拿这种违反规定,出什么结果看编译器的狗屁代码考试有什么意义?
|