Adding a newBlock at the end of a linked list implementation question

后端 未结 0 519
眼角桃花
眼角桃花 2020-11-28 17:03

This is my code for a adding an item to a double linked list my question is : if i say newBlock->prev = tail tail = newBlock Will newBlock->prev point to the old tail

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