To release memory of a vla array

How to deallocate and/or release memory of a vla array ?
There are no variable length arrays in standard C++. We have std::vector

In C, support for variable length arrays is an optional feature.
If VLA types are supported by a C implementation, the lifetime of a VLA ends when its declaration goes out of scope; its memory is automatically released at that time.
Topic archived. No new replies allowed.