3 ms·You can encode the length of an array in the type in C++, at compile time.by marshray 13y agoYou can encode the length of an array in the type in C++, at compile time.