MCPcopy Create free account
hub / github.com/SR-Sunny-Raj/Hacktoberfest2021-DSA / IsFull

Method IsFull

11. Stack/simple_stack.cpp:16–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14 }
15
16 bool IsFull(){
17 if(top==5){
18 return true;
19 }
20 else{
21 return false;
22 }
23 }
24
25 bool IsEmpty(){
26 if(top==-1){

Callers 1

mainFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected