Computer Science, asked by Navanshu4780, 3 months ago

15. Write a program to find the string length without using strlen(), function.

Answers

Answered by yashsaxena8055
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