119k views
2 votes
in C, Print the two strings, firstString and secondString, in alphabetical order. Assume the strings are lowercase. End with newline. Sample output: capes rabbits

in C, Print the two strings, firstString and secondString, in alphabetical order. Assume-example-1
User Xnnyygn
by
5.3k points

1 Answer

3 votes

Answer:

View Images.

Image1 = the code

Image2 = testcase 1

Image3 = testcase 2

Image4 = testcase 3

in C, Print the two strings, firstString and secondString, in alphabetical order. Assume-example-1
in C, Print the two strings, firstString and secondString, in alphabetical order. Assume-example-2
in C, Print the two strings, firstString and secondString, in alphabetical order. Assume-example-3
in C, Print the two strings, firstString and secondString, in alphabetical order. Assume-example-4
User Baraboom
by
5.1k points