>>23
const int (& getArray())[5][5] const {...; return ary;}

const int (& a)[5][5] = ....getArray();