Posts by James RGomes • 21 points
1 post
-
2
votes1
answer316
viewsQ: Quicksort with last element as pivot
The following code should receive a sequence of characters separated by space and sort them: #include <stdio.h> #include <stdlib.h> int particiona(int *vector,int inicio,int fim){ int…