Notas
Insert elements into a queue in C
Conteúdo das notas (1)
Página 1
void insert()
{
int element;
if (rear == LIMIT - 1)
printf("Queue Overflow\n");
else
{
if (front == - 1)
front = 0;
printf("Enter the element to be inserted in the queue: ");
scanf("%d", &element);
rear++;
queue[rear] = element;
}
}
Informações
- Descrição
- Computacion Notas sobre Insert elements into a queue in C, criado por VICTOR ALEJANDRO ARCINIEGA NILA em 08-10-2020.
- Criado por
- VICTOR ALEJANDRO ARCINIEGA NILA
- Visualizações
- 0
- Avaliação