Más contenido relacionado
La actualidad más candente (7)
Más de Kasun Ranga Wijeweera (20)
Linked List Implementation of Stack in C
- 1. /*
Linked List Implementation of the Stack in C
Author: Kasun Ranga Wijeweera
Email: krw19870829@gmail.com
Date: 20130501
*/
#include<stdio.h>
#include<conio.h>
#include<alloc.h>
typedef struct stackNode *link;
struct stackNode
{
int data;
link next;
};
typedef struct
{
link top;
}stack;
void initStack(stack *s)