+ 1
Hi i wanna to know a method that can help me to make strings in alphabetical order
making some names in alphabetical order with c
4 Antworten
+ 2
In java it looks like this not sure if theres anything in c that does similar?
String[] names = {"Tony","Amelia","Zack","David"};
Arrays.sort(names);
System.out.printf(Arrays.toString(names));
+ 2
D_Stark C has qsort(), will produce similar results as your code. But is the question about sorting? it seems more like permutations of string. I might be wrong.
+ 1
Flash just a guess really,I think he wants to sort names in alphabetical order.