|
|
| Townsheriff wrote: |
|---|
| I dont need to print it, but sort it and give it back to main function |
| Tutorial wrote: |
|---|
| At some point, we may need to pass an array to a function as a parameter. In C++, it is not possible to pass the entire block of memory represented by an array represents to a function directly as an argument. But what can be passed instead is its address. In practice, this has almost the same effect, and it is a much faster and more efficient operation. |
|
|