Segmentation fault (core dumped) in dynamic memory allocation using a pointer(member) from struct

后端 未结 0 595
再見小時候
再見小時候 2021-01-05 14:53

I am using the following code and in line "arr[0]->p = (int *)malloc(m * sizeof(int));"I have "Segmentation fault (core dumped)". I need to write my

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