int main()标签:sz,arr,数字,int,打印,brr,++,之外,sizeof From: https://blog.51cto.com/u_15880518/6106482
{
int arr[] = { 1,2,5,14,7,19,3,6,18,15,99,16,32 };
int brr[99999] = { 0 };
int a = 3;
int b = 6;
int i = 0;
int j = 0;
int sz = 0;
sz = sizeof(arr) / sizeof(arr[0]);
for (i = 0; i < sz; i++)
{
if (arr[i]<a || arr[i]>b)
{
brr[j] = arr[i];
j++;
}
}
j = 0;
while (brr[j])
{
printf("%d ", brr[j]);
j++;
}
return 0;
}