hmtcelik / stack-best-practices

stack data structure best practices with C

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Stack Best Practices in C

Stack data structure best practices in C with these forms:

There are 3 function to manipulation of stack:

void init(Stack *stk);
/*
  init(stack) -> void 
*/

void push(Stack *stk, int value);
/*
  push(stack, 2) -> void 
*/

int pop(Stack *stk);
/*
  pop(stack) -> 2 (top element) 
*/

About

stack data structure best practices with C


Languages

Language:C 100.0%