#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="<"array><> for(int i=0;i<> cout<><">"> } return 0;}Note: Remove Funcation
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here