Question: using c++ An toverloaded' function with name tepchr' will be constructed. i) In case of sending three parameters. one string array s' and two characters
An toverloaded' function with name tepchr' will be constructed. i) In case of sending three parameters. one string array "s' and two characters "c' and 'r' to 'repchr" function. it will find and replace all 'e characters with character "r" in string array's ii) In case of sending four parameters, one integer 'i'. one string array *s and two characters "c" and T. it will start replacing character te with character 'r' in string array 's' from i character from left side (from beginning) teg repehr ("potatoes', 'o', 'u') repohr (4, "potatoes",'o', 'u' 's will be "putatues" *s will be "potatues
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
