Can I reallocate memory without change the address in C?

48 Views Asked by At

Can I reallocate memory without change the address in C?

I want to create a stack, and increase the size of it dynamically. I don't mind if the size must be multiple of page size. Is it possiple?

Or can I allocate multiple pages on different address and map them into a single continuous space?

0

There are 0 best solutions below