变长数组。
程序代码:#include<stdio.h>
#include<conio.h>
main()
{
int i,x,y;
int number_1[y];
for(x=1000,y=0;x<10000;x++,y++)
{
if((x%10)-(x/1000)-((x%1000)/100)-((x%100)/10)>0)
number[y]=x;
}
for(i=0;i<=y;i++)
{
printf("%d\n",number_1[i]);
}
getchar();
}
那里不对!需要解释下哦









