How do you pass an array by reference in C++?
Like this:
1 2 3 4 5 6 7 |
|
This way you can enforce an exact array size. Any other length will simply fail to compile.
How do you pass an array by reference in C++?
Like this:
1 2 3 4 5 6 7 |
|
This way you can enforce an exact array size. Any other length will simply fail to compile.