Multiple choice

Which of the following will be the sentinel value for front variable for the underflow condition of queue?

  1. 0

  2. 1

    • 1
  3. Null

  4. None of the above

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

The sentinel value of front variable is -1 for underflow condition of queue.