✅ Перевірена відповідь на це питання доступна нижче. Наші рішення, перевірені спільнотою, допомагають краще зрозуміти матеріал.
Let's consider a queue implemented with type t_queue_tab, a two-index array.
This queue can only be manipulated using the standard enqueue() and dequeue() functions, which are well written.
Reminder: the t_queue_tab type is defined as follows:
#define MAX 30typedef struct s_queue_tab{ int values[MAX]; int first; int last;} t_queue_tab;Which of the following are valid states of a queue?