program to find the length of the string in c