@@ -93,7 +93,7 @@ int Stack::stackTop() {
93
int main() {
94
95
int A[] = { 1, 3, 5, 7, 9 };
96
-
+// inside main function we will create a object of stack
97
Stack stk(sizeof(A) / sizeof(A[0]));
98
99
// Populate stack with array elements
0 commit comments