Question: By using pointers, write a function in C++ that receives a character string and a character as argument and deletes all occurrences of this character

By using pointers, write a function in C++ that receives a character string and a character as argument and deletes all occurrences of this character in the string. The function should return the corrected string with no holes.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock 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 Computer Engineering Questions!