- push is an operation of stack. which is used to insert data.
- If the stack is full so the operation can not be performed and return.
- And if the space is available in stack so we increment in top and insert the value.
(2)[Check for Full]
If Top= N-1
Show “Stack is Full”
[End Of If Else step 2]
(3) Stack[Top]= Value