Realloc stack? šŸ¤” | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
0

Realloc stack? šŸ¤”

Is there a way to allocate more memory for the stack? Is it possible by just allocating some memory and replacing stack pointer with a pointer to it?šŸ’” Share your thoughts! šŸ˜‰

7th Jun 2020, 12:35 AM
Max Charlington
Max Charlington - avatar
1 Resposta
0
If the situation arises that you need more memory for the stack than you needed before then use a Linked list data structure as a stack. It saves you from allocating new memory.
7th Jun 2020, 2:59 AM
NEZ
NEZ - avatar