Exam4Training

Which line can be used instead of the comment to cause the snippet to produce the following expected output? (Select two answers)

Which line can be used instead of the comment to cause the snippet to produce the following expected output? (Select two answers)

Expected output:

1 2 3

Code:

A . c, b, a = b, a, c
B . c, b, a = a, c, b
C . a, b, c = c, a, b
D . a, b, c = a, b, c

Answer: A,C

Exit mobile version