Why is realloc failing even though I have sufficient memory

前端 未结 0 2020
猫巷女王i
猫巷女王i 2021-01-28 22:57

I have a function to resize a dynamic array, but it fails, even though there is more than enough memory. I am compiling my code with visual c.

This is my code:



        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题