Question: C++ Write a function which takes a string and returns a string in which occurrences of the letter 'c' have been filtered to the end.
Write a function which takes a string and returns a string in which occurrences of the letter 'c' have been "filtered" to the end. For example, on input the string "character", the return value would be "haratercc
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
