+If *size* is greater than **_ALLOCA_S_THRESHOLD**, then **_malloca** will attempt to allocate on the heap and return a null pointer if the space cannot be allocated. If *size* is less than or equal to **_ALLOCA_S_THRESHOLD**, then **_malloca** will attempt to allocate on the stack and a stack overflow exception will be generated if the space cannot be allocated. The stack overflow exception is not a C++ exception; it is a structured exception. Instead of using C++ exception handling, you must use [Structured Exception Handling](../../cpp/structured-exception-handling-c-cpp.md) (SEH).
0 commit comments