Question: Write a function called is_ consonant () that accepts a file handle (FILE *) to an already opened file and a character as input parameters,
Write a function called is_ consonant () that accepts a file handle (FILE *) to an already opened file and a character as input parameters, and returns 0 (false) if the character is NOT a consonant character, and 1 (true) if the character is a consonant character. The function should also write "is a consonant" or "is not a consonant" to the output file. A consonant is defined as any alphabetic (a - z) character uppercase or lowercase that is not a vowel. You may NOT use any functions found in
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
