String functions in c with example