I have found a question in a document which i have downloaded from the site www.examcertify.com
Question is-:
Output given-:[2, 5, 3, 1]
I have compiled the program and executed it.It is giving the same output.
According to me output should be [5,3,2,1].
Please Explain me Why output is not what i thought...
Ulf Dittmer
Marshal
Joined: Mar 22, 2005
Posts: 35223
7
posted
1
Let's turn around and ask you: why do you think the output should be [5,3,2,1]?