#include
#define N 4
int fun(int* ia,int m)
{
int i;
int min=*ia;
for(i=0;i
if(min>ia[i])
min=ia[i];
}
return min;
}
void main()
{
int a[4][3]={2,4,6,6,2,-3,4,-6,3,2,77,8};
int min;
min=fun((int*)a,sizeof(a[1])/sizeof(int));
printf("min=%d\n",min);
}