Why isn't realloc shrinking the array?

前端 未结 0 1549
长发绾君心
长发绾君心 2021-01-28 13:03

I have trouble reducing the size of dynamically created array. Here\'s what my main function looks like:

int main(void) {
    // Intialize big array         


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