how can i arranged the input words alphabetically, like in the dictionary..please help me....please!!!!
taichou 0 Newbie Poster
Recommended Answers
Jump to PostI would recommend using a bubble sort with the strcmp function as a comparison.
Jump to Posttaichou, I provided links with the hope that you would read them and maybe learn from them.
Jump to PostYour indentation could use some more noticeable spaces.
#include<conio.h>
is not a standard header file.clrscr();
andgetch();
are not portable C standard functions.void main()
should always return an int, except when there's not host operating system.printf("enter the name:");
you ask for a name, but expect six to …
All 9 Replies
nitu_thakkar -10 Light Poster
Murtan 317 Practically a Master Poster
death_oclock 103 Posting Whiz
taichou 0 Newbie Poster
Alibeg 1 Junior Poster in Training
death_oclock 103 Posting Whiz
ajay.krish123 -4 Junior Poster in Training
Aia 1,977 Nearly a Posting Maven
ajay.krish123 -4 Junior Poster in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.