ExamGecko
Question list
Search
Search

Question 189 - 102-500 discussion

Report
Export

What output is produced by the following command sequence? echo '1 2 3 4 5 6' | while read a b c; do echo result $c $b $a; done

A.
result: 6 5 4
Answers
A.
result: 6 5 4
B.
result: 1 2 3 4 5 6
Answers
B.
result: 1 2 3 4 5 6
C.
result: 3 4 5 6 2 1
Answers
C.
result: 3 4 5 6 2 1
D.
result: 6 5 4 3 2 1
Answers
D.
result: 6 5 4 3 2 1
E.
result: 3 2 1
Answers
E.
result: 3 2 1
Suggested answer: C
asked 18/09/2024
Mian Mudasir Bari
40 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first