链栈的C语言实现

#include <stdio.h> #include <stdlib.h> #include <malloc.h> #define ERROR -1 #define OK 1 ///链栈的实现:链栈是运算受限的单链表,其插入和删除只能在表头位置上进行。 typedef struct Stack_Node {     int data;     struct Stack_Node *next; }
相关文章
相关标签/搜索