•Functions
taking arrays
–Function
prototype
•void modifyArray( int b[],
int arraySize );
•void modifyArray( int [],
int );
–Names optional
in prototype
•Both take an
integer array and a single integer
–No
need for array size between brackets
•Ignored
by compiler
–If
declare array parameter as const
•Cannot
be modified (compiler error)
•void doNotModify( const int [] );