열렬히.뛰기

ft_strcmp

école 42 > exam02 > exam02 : part2 > ft_strcmp

주의점

  • s1[i] - s2[i]를 결과 값으로 보내면 됨.
  • s1, s2의 존재 여부는 신경쓰지 않아도 됨.

문제

Assignment name  : ft_strcmp
Expected files   : ft_strcmp.c
Allowed functions:
--------------------------------------------------------------------------------

Reproduce the behavior of the function strcmp (man strcmp).

Your function must be declared as follows:

int    ft_strcmp(char *s1, char *s2);