Algorithms and Data structures | Sololearn: Learn to code for FREE!

-1

Algorithms and Data structures

Write a c++code for insertion and deletion in a two dimensional array

c++

2/22/2020 12:15:04 PM

Osei Fordjour Lawrence

4 Answers

New Answer

+2

Hey 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

+2

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.

+1

ok i understand

0

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 ?