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! đ
2 Answers
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.