Segmentation Fault wrt NULL pointers C++

前端 未结 0 369
Happy的楠姐
Happy的楠姐 2021-01-04 23:19

I am trying to use a circular linked list to solve the Josephus problem. But in the create function I got a segmentation error regarding NULL pointer to the linked list node

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