// Now input array should be changed to lanoitaNytisrevinU.
}
Write the implementation of the function void ReverseSentence(char*). Assume that each sentence ends with a full stop. You should use the following function ReverseWord() to reverse each word of the whole sentence. You are not allowed to use any static array. You are only allowed to use simple character pointers.
“p” is a pointer pointing to the first location of char array and length is the number of characters in the array. For example, if p is pointing to “HELLO” then the length is 5. After calling this function, p is pointing to “OLLEH”.