Please friends suggest me algorithms to do the following jobs......
1)Program to read a line and delete all occurences of 'the' or 'THE'
2)Function to reverse the strings stored in the array of pointers:
a function xsterrevIstring) should get this job done.....Code:char *s[]={ "To err is human....", "But to really mess things up....", "One need to know C!!" };
I need only algorithm to implement in C.No coding is needed....