I need help in completing this incomplete function shown in bold. How many -letter words that start with the letter are there in the list? An example actual question is: How many 10-letter words that start with the letter 'g' are there in the list? (example word is "gatekeeper") Restrictions Do NOT call printf() or scanf() in any of the required function definition. Use of the function in the int main -> printf("A2: %d\n", Q2(WordList, NUM_WORDS, 10, 'g')); int Q2(char * WordList[], int nSize, int param_length, char param_char){ }
I need help in completing this incomplete function shown in bold.
How many <param_length>-letter words that start with the letter <param_char> are there in the list? An example actual question is: How many 10-letter words that start with the letter 'g' are there in the list?
(example word is "gatekeeper")
Restrictions Do NOT call printf() or scanf() in any of the required function definition.
Use of the function in the int main -> printf("A2: %d\n", Q2(WordList, NUM_WORDS, 10, 'g'));
int Q2(char * WordList[], int nSize, int param_length, char param_char){
}
Step by step
Solved in 3 steps with 2 images