Compiler Error C2266

'identifier' : reference to a non-constant bounded array is illegal

The specified reference was declared for an array with a nonconstant bound.

References can only be declared for arrays with constant bounds.