int main(void)
{
int a[] = {1,2,3,4,5,6,7,8,9,10,22,33,44,55,66,77,88,};
int min,max;
printf("main sizeof(a)=%lu ", sizeof(a));
minmax(a, sizeof(a)/sizeof(a[0]), &min, &max);
printf("min=%d,max=%d ", min, max);
return 0;
}
int main(void)
{
int a[] = {1,2,3,4,5,6,7,8,9,10,22,33,44,55,66,77,88,};
int min,max;
printf("main sizeof(a)=%lu ", sizeof(a));
minmax(a, sizeof(a)/sizeof(a[0]), &min, &max);
printf("min=%d,max=%d ", min, max);
return 0;
}