C Programming - Variable Length Array (VLA)
June 29, 2021
I always thought it was not possible to create a “dynamic” array in C without the use of malloc
till
recently where I was introduced to variable length arrays (VLA). Although the use of “dynamic” is
a poor choice, the ability to allocate an array at runtime based on a variable whose value is not known
till runtime came as a shock to me.