Queue By One dimensional Array ::
Code :: int Queue(10); ::

Queue(i) Memory QUEUE            Operation
    9     11010            TOP = 9
    8     11001           
    7     11000           
    6     10111           
    5     10110           
    4     10101           
    3     10100           
    2     10011           
    1     10010           
    0     10001            BOTTOM = 0


Data out :