Question: 7. (10%) Create a function ispunct which determines if the character is a punctuation character. (a) Declare the function in char_utils.h and define it
7. (10%) Create a function ispunct which determines if the character is a punctuation character. (a) Declare the function in char_utils.h and define it in char_utils.c. (b) The function should accept a single character. (c) The function should return 1 if the character is a punctuation character, 0 otherwise. (d) Acceptable punctuation characters are '!', '?', (e) You may NOT use any libraries for this function. ';', "', and '-'.
Step by Step Solution
3.42 Rating (149 Votes )
There are 3 Steps involved in it
Note Here I have highlighted the function ispunct And I have a... View full answer
Get step-by-step solutions from verified subject matter experts
