Why is swapping using function and swapping using assignment produce in different results?
This is the code for Quick sort in which i used assignment to swap the values.
This is the code for Quick sort in which i used assignment to swap the values.