#include stdio.h
int main() {
char s[] = "sookshmas";
int i;

for (i = 0; s[i] != '\0'; ++i);
printf("Length of the string: %d", i);
return 0;
}


Posted on by