(Choose 1 answer)
Consider the following pseudocode:
0
1
2
3
4
declare a queue of characters, which is implemented by circular array of size 6.
while(there are more characters in the word to read)
(1)
} How the queue looks like after processing the input "Goo**dMor****ning**"?
{read a character if a character is '*' then
dequeue the queue
else
enqueue the character into the queue
A. (4)
B. (3)
C. (1)
D. (2)
i
n
g
0
1
2
3
4
(2)
i
n
g
(3)
0
1
2
3
4
i
n
g
(4)
0
1
2
3
4
i
n
Exit 23