Question: Write a function, deleteChar, which deletes any occurrence in the first argument, a, of the single character which is the second argument, c. Assume the
Write a function, deleteChar, which deletes any occurrence in the first argument, a, of the single character which is the second argument, c. Assume the prototype is: void deleteChar(char a[], char c);
Step by Step Solution
There are 3 Steps involved in it
Solution Code and output include include include using namespace std void ... View full answer
Get step-by-step solutions from verified subject matter experts
