Which one of the following is the correct way to increment the rear end in a…
Which one of the following is the correct way to increment the rear end in a circular queue?
- A.
rear =rear+1
- B.
(rear+1) % max
- C.
(rear % max) + 1
- D.
None of the above
Attempted by 114 students.
Sign up free to check your answer
Sign up freeLoading lesson…