# include <stdio.h>
# include <string.h>
/** find the length of a string using pointer **/

int mylen(char *x)
{
	int len=0;
	while(*x++) len++;
	return len;
}

int main()
{
	char p[100];
	int len1,len2;
	printf("Enter a phrase ?\n");
	gets(p);
	len1=strlen(p);
	len2=mylen(p);
	printf("Lengths %d %d \n",len1,len2);
	return 0;
}
