Q. Write a function Stars() whose input are an array of characters(a), the size of the array(n), and a character(ch). This function should replace all occurrences of ch in the array, a, with a star(*), and return the number of times the replacement was made.
So far I have the function prototype
int stars(char a[n], char ch, int n)
{
}