Sorting names in ascending order

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • john301
    New Member
    • Apr 2018
    • 2

    Sorting names in ascending order

    I was wondering if the bubble sort could work with character strings, to sort names in C?
  • weaknessforcats
    Recognized Expert Expert
    • Mar 2007
    • 9214

    #2
    A bubble sort is just a type of sort. The algorithm can sort anything.

    Are you talking about the qsort library function?

    Comment

    Working...