Multiple choice technology mainframe

How will you find out the maximum number of elements present in a stack?

  1. Read the stack and have a counter value

  2. Using STACK.0

  3. Using STACK.MAX

  4. Usinf MAX function

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

In REXX, compound variables (stacks) use stem notation where STEM.0 automatically contains the element count. Reading and counting manually is inefficient, STACK.MAX doesn't exist, and MAX is for numeric comparisons.