Multiple choice technology programming languages

When there is data on the stack, the pull instruction retrieves data from ?

  1. Bottom of the stack

  2. Top of the stack

  3. Middle of the stack

  4. None of the above

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

When using REXX data stacks, the PULL instruction retrieves data from the top of the stack (LIFO by default, or FIFO depending on how the data was queued). It does not retrieve data from the middle or bottom of the stack.