c语言报错 [Error] invalid initialization of non-const reference of type 'LinkQueue*& {aka Link*&}' from an rvalue of type 'LinkQueue* {aka Link*}'

liuyanchao / 2023-05-03 / 原文

 进行地址传递是出现报错

临时值不能作为非常量引用参数进行传递

所以需要在main函数中·重新定义指针传递