GoConqr hat ein neues Design! Sag uns, wie es dir gefällt.

Notizen

Insert elements into a queue in C

VICTOR ALEJANDRO ARCINIEGA NILA Computacion Spanisch 1 Seite

Inhalt der Notizen (1)

Seite 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;

}

}

Informationen

Beschreibung
Computacion Notiz am Insert elements into a queue in C, erstellt von VICTOR ALEJANDRO ARCINIEGA NILA am 08/10/2020.
Aufrufe
0
Bewertung

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck