#include using namespace std; void DeleteElement(int *LA,int ITEM,int &N,int K){ for(int j=K;j



#include
using namespace std;
void DeleteElement(int *LA,int ITEM,int &N,int K){
  for(int j=K;j<>
       LA[j]=LA[j+1];
   }
   N=N-1;
}
int main(){
   int LA[]={1,2,3,4,5,6,7,8};
   int N=sizeof(LA)/sizeof(LA[0]);
   int K=3;
   int item= LA[K];
   DeleteElement(LA,item,N,K);
   cout<"array after="" deleting="" value="" at="" index="" k="<<>
   for(int i=0;i<>
     cout<><">
   }
    return 0;
}




Note: Remove Funcation



Jun 04, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here