设变量均已正确定义并赋值(如int x=4,n),以下与其他三组输出结果不同的一组是
A. x++; printf("%d\n", x);
B. n=++x; printf("%d\n", n);
C. ++x; printf(“%d\n”,x);
D. n=x++; printf(“%d\n”,n);
有以下程序void main(){ int a,b;a=10;b=20;printf(“a+b=%d \n”,a+b);}程序运行后输出结果是________。
A. a+b=0
B. a+b=30
C. 30
D. 出错