Array functions

How do you make a function that returns an array?
It kind of annoys me when people don't google their problem before making a post...I'm sure this would return plenty results. You could either pass the array you want to modify by reference or pass a pointer to the start of the array and return a pointer to the start of the modified array,
you can make a function that will populate your array with a new set of numbers?

your questions seems to be kinda wide. narrow it . what exactly do you mean by "return an array"?
As I remember, there is no array return allowed from a function. Anyone explain it more...
Last edited on
Topic archived. No new replies allowed.