Question: Write a function that accepts either a pointer to a C-string as its argument. The function should return the character that appears most frequently in
Write a function that accepts either a pointer to a C-string as its argument. The function should return the character that appears most frequently in the string.
Make sure to ignore capitalization. For example, "e" and "E" should be considered the same character. Also ignore non alphabetic characters.
Hint: use a frequency array in which each element is a counter for a letter in the alphabet.
Use the main function that I provided to test your class.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
