- A40 31 22 15 8
- B40 31 22 8 15
- C40 31 15 22 8
- D40 22 31 15 8
Step-by-Step Solution
Positions 1 and 2 are fixed as 40 and 31. Among 15, 8 and 22 the largest is 22, which moves to the third position, giving 40 31 22 15 8.
Answer: A) 40 31 22 15 8
Don't just memorise the answer — build a daily practice habit.
Practice 5 Similar Questions Free →All Input-Output practice questions