0 تصويتات
بواسطة
Which value is assigned/set at front and rear ends during the Initialization of a Queue?
a.1
b.0
c.infinity
d.-1

1 إجابة واحدة

0 تصويتات
بواسطة
During the initialization of a queue, typically a default value of -1 is assigned to both the front and rear ends of the queue. This indicates that the queue is empty and there are no elements currently in it. Therefore, the correct answer is d. -1.
مرحبًا بك إلى يزيد، حيث يمكنك طرح الأسئلة وانتظار الإجابة عليها من المستخدمين الآخرين.
...