#include<stdio.h>
#include<string.h>
int mystrlen(char * str)
{
int count=0;
while(*str!='\0')
{
count++;
str++;
}
return count;
}
int main()
{
char *s="abc";
int a=mystrlen(s);
printf("%d",a);
return 0;
}
#include<stdio.h>
#include<string.h>
int mystrlen(char * str)
{
int count=0;
while(*str!='\0')
{
count++;
str++;
}
return count;
}
int main()
{
char *s="abc";
int a=mystrlen(s);
printf("%d",a);
return 0;
}