Hi there im studying for exams going over previous exams and I have this question im not sure even where to start ill show you the question and if anyone can help me that would be great.
write a C functions strsort, using the bubble-sort algorithm, that has a single string as an argument.When the function finishes, the string is sorted in alphabetical order.
e.g.
after the following statements:
char s[80] = "horse";
strsort(s);
s contains "ehors"