c program to find the length of a given string with out strlen function