Question: Write the program in C and show the output of the code 1. Generate a string randomly. 2. Sort the string in alphabetical order by
Write the program in C and show the output of the code 1. Generate a string randomly. 2. Sort the string in alphabetical order by using quick sort, bubble sort and merge sort respectively. respectively. :5 3. Count the number of operations in one second : ackx quick sort3356123 bubble sort486356 : cakxy rocess exited after 0.02035 seconds with return value 0 Please enter the number of characters: 5 original string: cakx;y sort string: ackxy The quick sort can run 3356123 times in one second. The bucket sort can run 486356 times in one second
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
