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

using c++ using c++ An toverloaded' function with name tepchr' will be constructed. i)

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

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 Databases Questions!