0

Passing 2D Array To Function In C++.

How to pass 2d array to a function when size of that array was taken by the user.

4th May 2019, 5:13 AM
Hamad Badar
Hamad Badar - avatar
5 Antworten
+ 3
Hamad Badar Using single * will make your array behave like a normal 1d Array, using double * allows you to create a 2d array.
4th May 2019, 6:22 AM
Mensch
Mensch - avatar
0
But what if we use single pointer *, instead of double..
4th May 2019, 5:57 AM
Hamad Badar
Hamad Badar - avatar
0
Astralis. Thank you...
4th May 2019, 6:32 AM
Hamad Badar
Hamad Badar - avatar