Parameters That Are Arrays
Arrays may only be passed by reference.
No ampersand is needed (&).
It is possible to prevent an array from being modified by using the keyword const. For example:
foo(const int do_not_change_me[])
Previous slide
Next slide
Back to first slide
View graphic version