string function program in c