1.

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

Answer»

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;

}



Discussion

No Comment Found