VLAs have been deprecated, alloca was never part of a C standard AFAIK.
I was not suggesting that any of both is a good idea - but they are tools 'for programs where the amount of items you must store is only known at run time.' (Assuming that not having to free is considered "automatic memory management").