+ 1

Which smallest number is printed from the above numbers(5,5,10)?

I am confused about it. Both numbers are smallest so which number is printed 1st or 2nd(5). And why both numbers are not printed.

1st Feb 2019, 5:13 PM
Nitin Gutte
Nitin Gutte - avatar
1 Answer
+ 6
Depends on the implementation of the algorithm that checks for the smallest number
1st Feb 2019, 6:53 PM
Anna
Anna - avatar