Помогите исправить ошибки, пожалуйста

Вот мой код:
Код: Выделить всё
#include "stdafx.h"
#include <locale.h>
#include <conio.h>
#define q 6
#define w 8
void funcMass(int *tmas, int n)
{
int i,j,c,m,im;
if (tmas[0]==0)
{
for (j=n;j>1;j++)
{
m=tmas[0];
im=0;
for (i=1;i<j;i++)
{
if (tmas[i]>m)
{
m=tmas[i];
im=i;
}
}
c=tmas[im];
tmas[im]=tmas[j-1];
tmas[j-1]=c;
}
}
}
int main(int argc, char*argv[])
{
setlocale (0,"RUS");
int tmas1[q]={0,4,3,3,7,9};
int tmas2[w]={0,4,2,3,7,9,11,5};
funcMass(tmas1,q);
funcMass(tmas2,w);
printf("\n tmas1= %d", &tmas1);
printf("\n tmas2= %d", &tmas2);
getch();
return 0;
}