LLStack/main.c
p2Stack_t initStack() {
    p2Stack_t p2s = (p2Stack_t) malloc(sizeof(Stack_t));
    p2s->top = NULL;
    p2s->elements = 0;
    return p2s;
}
//------------------------------ initStack ------------------------------  
// This function initializes a stack and sets the top pointer to NULL,
// and elements to 0.
initStack
This function initializes a stack and sets the top pointer to NULL,
and elements to 0.
initStack This function initializes a stack and sets the top pointer to NULL and elements to 0 .
p2Stack_t initStack() {
    p2Stack_t p2s = (p2Stack_t) malloc(sizeof(Stack_t));
    p2s->top = NULL;
    p2s->elements = 0;
    return p2s;
}
p2Stack_t initStack ( ) { p2Stack_t p2s = ( p2Stack_t ) malloc ( sizeof ( Stack_t ) ) ; p2s -> top = NULL ; p2s -> elements = 0 ; return p2s ; }
initStack 
This function initializes a stack and sets the top pointer to NULL,
and elements to 0.
initStack This function initializes a stack and sets the top pointer to NULL and elements to 0 .