The best way is to use a vector from the STL library. And then return it from the function. You can also return a pointer to a dynamically allocated array, but then you need to think about who will delete it.
"assignmentexpert.com" is professional group of people in Math subjects! They did assignments in very high level of mathematical modelling in the best quality. Thanks a lot
Comments