結果 : write a program to perform stack operations using array