You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

The alloca function dynamically allocates memory on the stack. Unlike malloc, it does not return NULL if it is unable to allocate the memory. If it was unable to allocate the memory, attempting to use it will result in undefined behavior, most likely a crash.

  • No labels