若有以下输入,则下面程序的运行结果是 ( ) 。 1 4 2 3 3 4 1 2 3 3 2 2 2 3 3 1 1 1 4 1 1 1 –1< 回车 > # include # define M 50 int main( ) { int a[M] , c[5] , i , n=0 , x ; printf("Enter 0 or 1 or 2 or 3 or 4 , to end with – 1\n") ; scanf("%d" , &x) ; while(x! = –1) { if(x>=0 && x<=4) { a[n]=x ; n++ ; } scanf("%d" , &x) ; } for(i=0 ; i<5 ; i++) c[i]=0 ; for(i=0 ; i ; i++) c[a[i]]++ ; printf("The result is : \n") ; for( i= 1 ; i< =4 ; i++) printf("%d : % d\n" , i , c[i]) ; return 0 ; }