MCPcopy Create free account
hub / github.com/TheAlgorithms/C / double_array

Function double_array

data_structures/stack/dynamic_stack.c:55–68  ·  view source on GitHub ↗

* @brief As this is stack implementation using dynamic array this function will * expand the size of the stack by twice as soon as the stack is full. * * @param ptr Stack pointer * @param cap Capacity of stack * @return DArrayStack*: Modified stack */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

pushFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected