Menu

[solved] – Question 87339

Declare a string array of size 5. Prompt the user to enter five strings that are stored in the array. Afterward, prompt the user to enter a character. Write a function that expects the following three parameters: an array, the size of the array, and a char. The function counts the number of occurrences of that chain all of the strings stored in the array and returns it. Call that function from the main and output the returned value.

Expert Answer


OR


Leave a Reply

Your email address will not be published. Required fields are marked *