What is the expected output of the following code?

What is the expected output of the following code?

A . [1, 10, 3, 20, 5, 30, 7, 40, 9, 50, 60]
B . [1, 2, 10, 20, 30, 40, 50, 60]
C . The code is erroneous.
D . [10, 2, 20, 4, 30, 6, 40, 8, 50, 60]

Answer: C

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments