ProAnswers.org

What's the order that objects in an array are destructed?

In reverse order of construction: First constructed, last destructed.
eg:
the order for destructors will be a[9], a[8], …, a[1], a[0]: