int n = sizeof(arr)/sizeof(arr【0】); int index = 2;//删除第三个元素 if(index & lt;0 | | index & gt= n ){ printf(& quot;无效的索引); 返回0; } //创建新数组 int * newArr =(int *)malloc((n-1)* sizeof(int)); //复制指定位置以外的其他元素。 for(int I = 0,j = ...