467,092 Members | 1,260 Online
Bytes | Developer Community
Ask Question

Home New Posts Topics Members FAQ

Post your question to a community of 467,092 developers. It's quick & easy.

Sorting names in ascending order ?.

2Bits
Hello,

I was wondering if the bubble sort could work with character strings, to sort names in C?


thanks
jackyjoy
2 Weeks Ago #1
  • viewed: 1853
Share:
4 Replies
dev7060
Expert 256MB
I was wondering if the bubble sort could work with character strings, to sort names in C?
I believe so.   ⠀⠀⠀⠀           
2 Weeks Ago #2
32bit
Yes, the bubble sort could work with character strings, to sort names in C.
I will suggest you to go through the below link in stackoverflow. I hope
it will help you out

/questions/61450131/bubble-sorting-an-array-of-strings-in-c
5 Days Ago #4
Banfa
Expert Mod 8TB
Any sorting algorithm can work with anything that can be compared so bubble sort can be used to sort numbers or strings or just blocks of 5 bytes of memory.
4 Days Ago #5

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

3 posts views Thread by news.hku.hk | last post: by
2 posts views Thread by fred_stevens@hotmail.com | last post: by
2 posts views Thread by PRadyut | last post: by
5 posts views Thread by Nick Weisser | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.