以下程序的执行结果是#include


以下程序的执行结果是#include

int main()

{

int a = 5, b = 4, x, y;x = 2 * a++;y = –b * 2;printf(“a=%d, x=%d”, a, x);printf(“b=%d, y=%d”, b, y);return 0;}

A.a=6, x=10b=3, y=6

B.a=6, x=10b=3, y=8

C.a=6, x=12b=3, y=6

D.以上均不对

正确答案:a=6, x=10b=3, y=6