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 

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

1 Expert Approved Answer
Step: 1 Unlock

Note Here I have highlighted the function ispunct And I have a... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Accounting Questions!