Write a c program to find the length of a string without using the built in function