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 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
Get step-by-step solutions from verified subject matter experts
