Solved

Which of the Following Code Fragments Is Used to Delete

Question 9

Multiple Choice

Which of the following code fragments is used to delete the item at the front of a queue represented by a circular array?


A) front = MAX_QUEUE - front;
--count;
B) front = front - back;
--count;
C) front = (front+1) % MAX_QUEUE;
--count;
D) front = (back+1) % MAX_QUEUE;
--count;

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions