• 2021-04-14
    【单选题】试问以下程序输出结果正确的是 #include void main() { int a=16,a1,a2,a3; a1=a++; a2=a++; a3=a++; printf("a1=%d,a2=%d,a3=%d
    ",a1,a2,a3); a1=++a; a2=++a; a3=++a; printf("a1=%d,a2=%d,a3=%d
    ",a1,a2,a3); }
    A. a1=16,a2=17,a3=18 a1=20,a2=21,a3=22 B. a1=16,a2=16,a3=16 a1=17,a2=17,a3=17 C. a1=16,a2=17,a3=18 a1=19,a2=20,a3=21 D. a1=16,a2=17,a3=18 a1=16,a2=17,a3=18