MSVC is not a C99 compiler, and does not support variable length arrays.
At https://learn.microsoft.com/en-us/cpp/c-language/ansi-conformance MSVC is documented as conforming to C90.
MSVC is not a C99 compiler, and does not support variable length arrays.
At https://learn.microsoft.com/en-us/cpp/c-language/ansi-conformance MSVC is documented as conforming to C90.