Please help me i just want to ask

Most probably you want a FIFO storage (First In First Out). That's different from a stack (LIFO) associated with push and pull requests.

A FIFO can be implemented with dynamic or static (circular buffer) char arrays, with two pointers or indices referring to the head and tail of the stored character sequence.