Question: programing in c language 1. String Processing a) Write a function, strdel, that accepts a string and a character. The function returns string with the

programing in c language
1. String Processing
a) Write a function, strdel, that accepts a string and a character. The function
returns string with the first occurrence of character removed. e.g.) strdel(different view, f) => diferent view
b) Write a function, strcnt, that accepts a string. The function returns the number of occurrences of all the vowels (a, e, i, o, u).
e.g.) strcnt(What a nice day.) => a:3 e:1 i:1 o:0 u:0
 programing in c language 1. String Processing a) Write a function,

1. String Processing a) Write a function, strdel, that accepts a string and a character. The function returns string with the first occurrence of character removed. e.g.) strdeK"different view", f) - diferent view b) Write a function, strcnt, that accepts a string. The function returns the number of occurrences of all the vowels (a, e, i, o, u. e.g.) strcnt"What a nice day."-a:3 e:1 i:1 o:0 u: Test above functions thoroughly using suitable data (At least three different test cases for each function.)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Heres how you can implement the functions in C Part a Function strdel This function will remove the ... 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 Databases Questions!