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

Method size

S-Stack/StacksUsingQueue.cpp:124–131  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

122 }
123
124 int size(){
125 if(q1.empty()){
126 cout << "Stack is empty!" << endl;
127 return -1;
128 }
129 else
130 return N;
131 }
132};
133
134//Driver Program

Callers

nothing calls this directly

Calls 1

emptyMethod · 0.80

Tested by

no test coverage detected