Why my code is giving run time error..please check my code
your code almost correct you have done single small mistake
i have correct see in the code
hey actually at line no:10 iam storing min element index…and storing in index…
I dont get why index=i should be done please explain.
Even if i remove that index=i,array is sorting but when submitting its giving run time error
Please explain clearly.