"it is possible to access memory outside of the defined-size of the array", no it is not, this is undefined behaviour.