选择题 31.  有以下程序:
    # include<stdio.h>
    main()
    {  int a=1,b=0;
    printf("%d,",b=a+b);
    printf("%d\n",a=2+b);
    }
    程序运行后的输出结果是______。
【正确答案】 D
【答案解析】 本题输出两个值:第一个printf语句输出b的值,b=a+b=1;第二个printf语句输出了a的值,a=2+b,此时b的值为1,所以a的值为2。