변수란?

변수란 변하는 수, 즉 우리가 값을 할당할 수 있는 메모리 주소를 뜻한다….

가나다

버블정렬

#include <unistd.h>

13 /*#include<stdio.h>*/
 14 
 15 int     ft_strcmp(char *s1, char *s2)
 16 
 17 {
 18         int     i;
 19 
 20         i = 0;
 21         while ((s1[i] == s2[i]) && (s1[i] != 0) && (s2[i] != 0))
 22                 i++;
 23         return (s1[i] - s2[i]);
 24 }
 25 /*
 26 int     main(void)
 27 
 28 {
 29         int     result;
 30 
 31         result = ft_strcmp("hello world!!", "hello");
 32         printf("result = negative value, result :%d\n", result);
 33         return (0);
 34 }
 35 */
~