Name

stack_ peek

Synopsis

void *stack_peek(const Stack *stack);

Return Value

Data stored in the element at the top of the stack, or NULL if the stack is empty.

Description

Macro that evaluates to the data stored in the element at the top of the stack specified by stack.

Complexity

O (1)

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.221.126.56