Question: Write a C function called RemoveCommas. The function receives two Strings in the form of character pointers as the following: void RemoveCommas(char * oldval, char

 Write a C function called RemoveCommas. The function receives two Strings

Write a C function called RemoveCommas. The function receives two Strings in the form of character pointers as the following: void RemoveCommas(char * oldval, char * newval) Your function should generate a new string called newval out of oldval by removing all the in oldval. For example, given the following code: char FilteredName [20]; RemoveCommas ("v1, V2,V3", FilteredName); It should store the value "v1v2v3" inside FilterNamed. You are not allowed to use arrays inside your function, only character pointers. commas

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!