How can I create this linked list with stack in C? -
i can create linked list. not managed create stack it. (stack cannot more 5, , can empty shown in link). how can it? (c language c++ functions new int allowed)
the structure like:
struct linkedstack { int elements[5]; int top; struct linkedstack *next; };
then manage stack top
(equals 0 @ beginning)...
Comments
Post a Comment