CS140 -- Final Exam: Answer Sheet, page 4

Name: __________________________ User Name: _________________________


Question 26:
#include < stdio.h >
#include "dllist.h"

Stack new_stack()
{


}

free_stack(Stack s)
{


}

int stack_empty(Stack s)
{


{

stack_push(Stack s, Jval val)
{


}

Jval stack_pop(Stack s)
{








}

Jval stack_top(Stack s)
{








}