Question: Write a function named replace_char in C that takes a string as parameter which replaces the spaces with a specific character in string parameter.

Write a function named "replace_char" in C that takes a string as

Write a function named "replace_char" in C that takes a string as parameter which replaces the spaces with a specific character in string parameter. Test Data: Input: Be glad to see the back of Replace character: Output: Be*glad*to*see*the*back*of*

Step by Step Solution

3.31 Rating (151 Votes )

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