C++ why accessing elements outside of an array is allowed even though it is undefined?

58 Views Asked by At

I was wondering why accessing elements outside of array bound is allowed when it is clearly mentioned as undefined.

0

There are 0 best solutions below