
Write a program that takes a single string argument and prints its words in reverse order.
./words_back "hello world"Expected result
world hello
For your own tracking. Tests grade your code.
./words_back "one two three four"Expected result
four three two one
./words_backExpected result
wrong number of arguments
Expected files
words_back.cAllowed functions
writemallocfreeAllowed headers

v0.40: Create exercises. Challenge the community.
Meet Studio →Write a program that takes a single string argument and prints its words in reverse order.
./words_back "hello world"Expected result
world hello
For your own tracking. Tests grade your code.
./words_back "one two three four"Expected result
four three two one
./words_backExpected result
wrong number of arguments
Expected files
words_back.cAllowed functions
writemallocfreeAllowed headers

Run the tests to grade your code
Build your code, then check each test here. Open a result to inspect its output.