Question: *USING C LANGUAGE with no errors detected String Manipulation: Reverse. Write a function called Reverse that accepts as a parameter a char array (or char
*USING C LANGUAGE with no errors detected

String Manipulation: Reverse. Write a function called Reverse that accepts as a parameter a char array (or char pointer) and returns a void type. The function reverses the contents of the array (or string) being passed. Example: the string "Hello" will be reversed to "olleH". You have to be careful about the '\0' symbol to keep it at the end of the array and watch out for odd and even length of strings. Test your function and display the string (array) before and after it is reversed. IMPORTANT: The function does NOT print the string in reverse: it actually reverses it in the memory. String Tokenization Write a function called ParseSentence that takes as input parameter a null (i.e. '1\0') terminated string s, where s would contain an English sentence. Assume that the delimiters are space, comma, semicolon and period. The function extracts each word from the sentence (without any punctuation or spacing) and then prints one word per line. The function returns a void type. For example: char str "hello world, how are you today.": ParseSentence (str): would print the following: hello world how are you today
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
