When to avoid using dynamic allocation

Do not use dynamic allocation in the following types of programs, because their characteristics, combined with a dynamic allocation request, can cause the program to end abnormally:

Additional requirements and restrictions for dynamic allocation are outlined in Programming considerations for using the DYNALLOC macro.