C Program For String Handling Functions In Java