Welcome to Scribd!
Academic Documents
Professional Documents
Culture Documents
Hobbies & Crafts Documents
Personal Growth Documents
As per the above code, the array will get the size and based on the function (push or pop) numbers are stored or retrieved.
4)
Output: