0
Can a function return and take as an argument an N dimensional array where N is unknown?
2 odpowiedzi
0
yes...but where you give array size through user input..then it is possible..otherwise if you leave blank the array size and passes that in to the function compiler gives you error like array storage size does not known...
0
I'm not talking about array length. I'm talking about the dimensions of the array, a function that can take an int* or an int*** as a parameter without overloading the function.