Why after calling the QuickSort function it doesn't show the sorted array
George Ryan You mean you get output for original array and the sorted array? I can only see output of original array, but sorted array isn't showing. I think problem lies in `QuickSort` function, if I comment the line that calls `QuickSort`, then code runs ok. Although obviously the array is intact in second output.
Sigmentation fault it showing check your loops may be it going to be infinite times
George Ryan Polymorphism doesn't play here, I take it you meant the forward declaration of QuickSort function at line 7?
George Ryan [user id="5117788"]Ipang[/user] [user id="16889292"]♨️♨️[/user] i found the error The brackets in 57 line were not in the right place It looked like this before : while(s_arr[right>middle]) ; That's why it didn't work
Good job zaya1235 👍
I'm not sure what the problem is, all of the array items seem to print just fine
Segmentation fault? That's odd it works just fine for me.
Ipang Ah yeah, one of my guesses is it's a problem with polymorphism. They defined two different quick sorts, I'm not sure which one main is calling
What is the best coding language
When you want to make a book in JS, then how do you put text other than the page nmr. on the page?