The output says segmentation fault. Please help me identify the mistake in my code.
Quick Sort segmentation fault
hey please check the code now. It still shows error after adding base case.
check ur pivot function,in its while loop u need to make sure that i and j are always valid