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
Get step-by-step solutions from verified subject matter experts
