Https://ide.codingblocks.com/#/s/29547

https://ide.codingblocks.com/#/s/29547
Giving error, how to pass 2d array in function

https://ide.codingblocks.com/#/s/29797

this syntax is allowed. Check this.

another method is making a pointer to array of pointers and using it as a 2D array.

How to make a pointer to array of pointers and using it as a 2D array? I want to know the code

https://ide.codingblocks.com/#/s/29797
This code is still giving one test case wrong. It’s matrix search question in 2d array

https://ide.codingblocks.com/#/s/29837

i have made the changes and commented them.

https://ide.codingblocks.com/#/s/29838

This is the pointer to an array of pointer i was talking about. Usage is quite similar to 2D array.

Thanks, now I got it

1 Like