Segmentation fault when attempting to edit a struct's data in an array of struct pointers

前端 未结 0 349
野性不改
野性不改 2020-12-06 15:53

I have an array of pointers to represent a Graph as an Adjacency Table and can set these pointers to new Node pointers without issue by running the following code:

         


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