请各位帮我看看错哪
程序代码:
#include<stdio.h> void BlockExchange(int nArry[],int n,int m); { int i,t; for(i=0;i<m;i++) {t=nArry[i]; nArry[i]=nArry[n-i-1]; nArry[n-i-1]=t; } for(i=0;i<=n-1;i++) printf("%d",nArry[i]); printf("\n"); } int main() { int k,m; int nArry[10]={1,2,3,4,5,6,7,8,9,10}; printf("请输入m的值且m<5\n"); scanf("%d",&m); //printf("%d",BlockExchange(int nArry[],int 10,int m)); void BlockExchange(nArry[],10,m); for(k=0;k<10;k++) printf("%d",nArry[k]); return 0; }这个将数组中前m个元素与后m个元素交换的程序错哪