下面程序的输出结果是:#includeusing namespace std;int main (){int a[]={4,0,2,3,1},i,j,t;for(i=1;i<5;i++){t=a[i];j=i-1;while(j>=0&&t>a[j]){ a[j+1]=a[j]; a[j]=t; j--;}}for(i=0;i<5;i++) printf("%3d",a[i]);printf("\n");return 0;}
A. 4 0 2 3 1
B. 0 1 2 3 4
C. 4 3 2 1 0
D. 1 3 2 0 4