Question: Strings. Please write program in C. Thank you. (c) Write a function that replaces instances of a given character with a different char acter in
Strings. Please write program in C. Thank you.

(c) Write a function that replaces instances of a given character with a different char acter in a string. void replaceChar(char *sxe, char oldbaar, char ax) Which will replace any instance of the character stored in oldChar with the char acter stored in newChar in the string src
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
