In the main function, I have one two-dimensional array, A. I need to pass A into a function f, which takes A, may change A. f will also generate another two-dimensional array B based on some operations on A and return A.
I know it is about passing pointer passing but do not get the solution after reading the book.
How to define this function and how to call it? Thanks.