#include stdioh#include stdlibh#include asserth#define FALSE 0#define TRUE 1typedef struct NODE struct NODE link; int value; data Node;int sll_removestruct NODE linkpstruct NODE Delete
这个代码缺少一个分号,导致编译时会报错。
错误的地方是在这一行: *linkp=current->link
应该改为: *linkp=current->link;
原文地址: https://www.cveoy.top/t/topic/igho 著作权归作者所有。请勿转载和采集!