Hi,
Does anyone knows how to pass an array (one dimensional) between two or more functions?
Please, what I want that program do doesn't matter at all. I don't need "other ways" of doing what I need. Just need to know how to pass one dimensional array between functions (more than one) by reference, when all function can change the content of the array, without having to return the value changed.
Thank you!
See the simple and nonsense example below: how to pass round?
Remember that the name of the array can be used as a pointer to the first element of the array. So, in this case, the argument should be a pointer to int.