Did you have something like this?
int i, temp;
for (i = 0; i < 5; i++) {
printf("Enter number for queue: ");
scanf("%d", &temp);
enqueue(queue_ptr, &temp);
}
Type: Posts; User: tabstop
Did you have something like this?
int i, temp;
for (i = 0; i < 5; i++) {
printf("Enter number for queue: ");
scanf("%d", &temp);
enqueue(queue_ptr, &temp);
}