CSD201_-_SP_2023_-_FE_166.webp
hirosi212

CSD201_-_SP_2023_-_FE_166.webp

9
Multiple choices 9/50
(Choose 1 answer)
Next
Consider the following pseudocode:declare a stack of characters
while(there are more characters in the word to read)
{ read a character
} while(the stack is not empty)
if a character is '*' then
pop the stack else
push the character into the stack
pop and write the poped character to the screen
What is written to the screen for the input "Good**Morn**in***gSir"?
A. riSgMoG
B. riSgMoo
C. GoMg
D. riSgMor
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34 35
36
37 38
39
40
41
42
43
44
45 46
47
48
49
50

Thông tin

Category
CSD201
Thêm bởi
hirosi212
Ngày thêm
Lượt xem
2,485
Lượt bình luận
18
Rating
0.00 star(s) 0 đánh giá

Share this media

Back
Bên trên Bottom