How we can return multidimensional array as a result of the function? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How we can return multidimensional array as a result of the function?

20th Sep 2017, 7:31 AM
botenik
2 Answers
+ 3
int** multiDim(int rows, int cols) { //code here return twoDArray; }
20th Sep 2017, 7:42 AM
ChaoticDawg
ChaoticDawg - avatar
+ 1
thanks, but can you give some description of this code?
21st Sep 2017, 6:52 AM
botenik