ft_tolower

one·2021년 1월 12일
0

✅tolower

  • 알파벳 대문자를 소문자로 변환한다.

💾함수 원형

int toupper(int c)

💾함수 구현

#include "libft.h"

int		ft_tolower(int c)
{
	if ('A' <= c && c <= 'Z')
		return (c + 32);
	return (c);
}
profile
늘 호기심을 갖고, 새로운 것에 도전할 것.

0개의 댓글