#include<stdio.h>
#define row 2
#define col 3
int main()
{
int list[row][col]={458,45,555,458,55,454};
int rets[row*col]={-1};
int i=0,j=0,m=1;
int *tmp;
int num=sizeof list/sizeof(int);
tmp=list[i];
while(1)
{
for(j=1;j<num-i;j++)
{
if(*(tmp+j)==*tmp) m++;
}
rets[i]=m;
m=1;
i++;
tmp++;
if(i>=num) break;
}
tmp=rets;
int max=0,k=0;
for(j=0;j<num;j++)
{
if(*(tmp+j)>max)
{
max=*(tmp+j);
k=j;
}
}
tmp=list[0];
tmp+=k;
printf("出现次数最多的数是=%d\n",*tmp);
return 0;
}