GoConqr has a new look! Let us know what you think.

Notes

Insert elements into a queue in C

VICTOR ALEJANDRO ARCINIEGA NILA Computacion Spanish 1 page

Content of the notes (1)

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

}

}

Information

Description
Computacion Note on Insert elements into a queue in C, created by VICTOR ALEJANDRO ARCINIEGA NILA on 08/10/2020.
Views
0
Rating

Feedback

What is it about?

What do you think of the new look?

How do you like it?