第一,编译通过只能说明你的代码语法上没有什么大问题,不能说明是逻辑正确的
arrdel函数问题
int arrdel(int *a,int m,int k){ int i; for(i=k;i return m-1;}