Write a c++code for insertion and deletion in a two dimensional array
2/22/2020 12:15:04 PM
Osei Fordjour Lawrence4 Answers
New AnswerHey Osei Fordjour Lawrence, if you need assistance in writing such a code, please provide what you have attempted so far, preferably in form of a saved code, so we can determine where you are stuck. If, however, this is supposed to be a challenge for other users, please move this thread to your personal feed. Also, kindly review: https://www.sololearn.com/discuss/1316935/?ref=app
Well, what does insert and deletion mean in this case? Is an element overwritten, or should the array grow/ shrink in size? In case of the latter you will need dynamic memory.
int A[3][3] for(int i =0; i<3;i++) { for(int j=0;j<3;j++) {std::cin>>A[i][j] this is where i have gotten to any help on how to insert and delete ?
Sololearn Inc.
535 Mission Street, Suite 1591Send us a message