15. Write a program to find the string length without using strlen(), function.
Answers
Answered by
0
Answer:
int main()
{
char string[40] = "yash saxena";
int i =0;
while(string[i] != '\0')
{
i++;
}
printf(" length of String is %d",i-1);
return 0;
}
Similar questions