Where to free memory, while creating 2d array? valgrind error

后端 未结 0 661
野趣味
野趣味 2020-12-19 06:44

I am starting to learn dynamic memory allocation. In this code, I have created in main function 2d array:

   `int **board = malloc(row*sizeof         


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