A stack is to be implemented using an array. The associated declarations are: int stack
[100]; int top = 0; Give the statement to perform push operation.
Answers
Answered by
0
Answer:
top++
Explanation:
when an element is pushed to the stack the top value get incremented that is top++
Similar questions
Physics,
19 days ago
Science,
19 days ago
History,
19 days ago
Computer Science,
1 month ago
Math,
1 month ago
Accountancy,
9 months ago