Tricks of using pop( ) in 'Stack' (C) - int pop( ){ if(top >= 0){ int value = stack[top]; top--; } } note: this stack has been implemented through array. #programming #code #Coding #top #DataPatterns #newbie
0
1
2
0
0