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
Math,
1 month ago
Math,
1 month ago
Business Studies,
2 months ago
Physics,
9 months ago
Math,
9 months ago