int funkcja2(int tab[],int TabSize) { for(int i=0; i> tab[i]; } int maxtab = 0; int max = 0; int countermax = 0; for(int q=0; q> 1; } if(counter > countermax) { max = tab[q]; countermax=counter; maxtab = q; } } return max; }