Question: Write a function count_letters that takes a character array and a character and returns the number of times that character appears in the string. Use
Write a function count_letters that takes a character array and a character and returns the number of times that character appears in the string. Use pointers. This is just the function, with a comment for documentation but dont write the main program. in C
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
