Computer Science, asked by 123455655444, 4 hours ago

What is stack pointer? Define the two main operation of a stack with their program?

Answers

Answered by sk86121968184
1

Answer:

The stack pointer points to the current topmost datum on the stack. A push operation decrements the pointer and copies the data to the stack; a pop operation copies data from the stack and then increments the pointer.

Similar questions