hi,
i need to wire this function that replaces each occurence of ch1 in s with ch2. So if s is abcad, and ch1 is a, and ch2 is G, then the final output of s should be GbcGd.
char s[ ], char ch1, char ch2....
i tired a for loop but for some reason did not work....any other suggestions???