Home > Back-end >  Why use malloc create dynamic input couldn't get in as an argument to function
Why use malloc create dynamic input couldn't get in as an argument to function

Time:09-22



Code as above, Regression is a function is called, but after the test, the malloc created dynamic array xx is not passed, what reason is this

CodePudding user response:

How Regression statement, pay attention to the secondary pointer, not a two-dimensional array, even though they like

CodePudding user response:

Please refer to "function parameter type of pointer in c + + pointer"
I hope it can help you!
  • Related