[求助]程序错在哪
#include <stdio.h>main()
{
int number[20],n,m;
int *p=number,i;
int temp[20];
printf("enter the number of n,m !\n");
scanf("%d %d",&n,&m);
printf("enter the %d numbers !\n",n);
for(i=0;i<n;i++)
{
scanf("%d",number[n]);
}
for(p=number+(n-m),i=0;p<number+n;p++,i++)
{
temp(i)=(*p);
}
for(p=number+(n-m-1);p<number+(m-1);p--)
{
*p=*(p-m);
}
for(p=number,i=0;p<number+m;p++,i++)
{*p=temp[i];
}
for(i=0;i<n;i++)
printf("%d",number[i]);
}
在红字处是错误,编译信息是"called object is not a function"
大家帮忙看看,谢谢