Answer
Represent the stack as a one-dimensional array and the stack pointer as a variable of integer type.
Work Step by Step
--Represent the stack as a one-dimensional array and the stack pointer as a variable of integer type.
--Then use this stack pointer to maintain a record of the position of the stack’s top within the array rather than of the exact memory address.