Hello Guys,
I have some questions about Queues, their are pointers in queues eg.
"front" and "rear". front is a pointer which points to the 1st element of the queue and rear is a pointer which points to the last element or data inserted in the queue.
I am actually making a program on bank which has counters and also has tellers. The purpose of teller is to serve the customer at the counter.
I wanted to know that can I declare the front and rear pointers in the Queue program as :
"int *front" and "int *rear" ?
thanks