MCPcopy Create free account
hub / github.com/Lakhankumawat/LearnCPP / emptyStack

Function emptyStack

S-Stack/stackADTUsingLL.cpp:75–77  ·  view source on GitHub ↗

----------------This function checks whether the stack is empty-------------*/

Source from the content-addressed store, hash-verified

73
74/*----------------This function checks whether the stack is empty-------------*/
75bool emptyStack(STACK* stack){
76 return (stack -> count == 0);
77}
78
79/*----------------This function return the stack count--------------------------*/
80int stackCount(STACK* stack){

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected