Given the input 'cat dog apple', which of the following is the correct output after rearranging the words in alphabetical order?

Answer: A. apple cat dog
The words are rearranged in alphabetical order: apple, cat, dog.