• 2022-05-27
    以下程序段 int a=10,b=50,c=30;if(a>b){a=b;b=c;c=a;}printf("a=%2d b=%2d c=%2d\n",a,b,c);的输出结果是( )A.a=10 b=50 c=10 B.a=10 b=30 c=10 C.a=50 b=30 c=10 D.a=50 b=30 c=50
    A: a=10 b=50 c=10
    B: a=10 b=30 c=10
    C: a=50 b=30 c=10
    D: a=50 b=30 c=50