Thanks for the confirmation!

BTW I do use std::vector in normal life. I'm just trying to understand how dynamic arrays work here.

A related question: if the extent of a dynamic array is guaranteed to be knowable to the run-time, why isn't it accessible via an API call to the programmer? (I know, you didn't design the language ... but maybe there's a philosophical reason?)

Thanks again.