Multiple choice general knowledge

If you have a empty queue that can contain letters, and you enqueue (in order) these letters into it, what order will they be in when you dequeue them? 'm' 'a' 'r'

  1. 'r' 'a' 'm'

  2. 'a' 'r' 'm'

  3. 'm' 'a' 'r'

  4. There is no way to tell

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

A queue follows FIFO (First In First Out) principle. When you enqueue m, then a, then r into an empty queue, m is at the front. Dequeue removes m first, then a, then r, maintaining the original order m,a,r. This is different from a stack.