¡GoConqr estrena diseño! Cuéntanos qué te parece.

Apuntes

Insert elements into a queue in C

VICTOR ALEJANDRO ARCINIEGA NILA Computacion Español 1 página

Contenido del apunte (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;

}

}

Información

Descripción
Computacion Apunte sobre Insert elements into a queue in C, creado por VICTOR ALEJANDRO ARCINIEGA NILA el 08/10/2020.
Visitas
0
Valoración

Escríbenos

¿Sobre qué es tu mensaje?

¿Qué te parece el nuevo diseño?

¿Te gusta?