프로그래밍/C언어 300제
중급 73. 문자열을 소문자로 변환하기 (strlwr)
JBroWorld
2020. 2. 26. 22:43
학습 내용 : 대문자를 소문자로 변환하는 기본 원리를 이해합니다.
소스 코드 :
1
2
3
4
5
6
7
8
9
10
11
12
|
#include <stdio.h>
#include <string.h>
#pragma warning(disable:4996)
void main()
{
char english[100] = "Whatever You Do, Make It Pay.";
strlwr(english);
puts(english);
}
|
실행 화면 :