Question: What will this program print out to the console when executed?

  1. [5, 1, 10]
  2. [10, 5, 1]
  3. [1, 5, 10]
  4. [10, 1, 5]

Answer: The correct answer of the above question is Option A:[5, 1, 10]