ft_strcmp.c
int	ft_strcmp(char *s1, char *s2)
{
	int i;
	
	i = 0;
	while(s1[i] && s2[i])
	{
		if(s1[i] != s2[i])
		{
			printf("%d", s1[i] - s2[i]);
			return(s1[i] - s2[i]);
		}
		i++;
	}
	printf("%d", 0);
	return(0);
}
// string comparison of s1 and s2. If 0 is returned, s1 and s2 are the same.
string comparison of s1 and s2. If 0 is returned, s1 and s2 are the same.
string comparison of s1 and s2 . If 0 is returned s1 and s2 are the same .
int	ft_strcmp(char *s1, char *s2)
{
	int i;
	i = 0;
	while(s1[i] && s2[i])
	{
		if(s1[i] != s2[i])
		{
			printf("%d", s1[i] - s2[i]);
			return(s1[i] - s2[i]);
		}
		i++;
	}
	printf("%d", 0);
	return(0);
}
int ft_strcmp ( char * s1 , char * s2 ) { int i ; i = 0 ; while ( s1 [ i ] && s2 [ i ] ) { if ( s1 [ i ] != s2 [ i ] ) { printf ( " " , s1 [ i ] - s2 [ i ] ) ; return ( s1 [ i ] - s2 [ i ] ) ; } i ++ ; } printf ( " " , 0 ) ; return ( 0 ) ; }
string comparison of s1 and s2.
string comparison of s1 and s2 .