TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
C# Corner
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Convert a String To Lower Case
Shobana J
Jul 25, 2016
9.5
k
0
1
facebook
twitter
linkedIn
Reddit
WhatsApp
Email
Bookmark
In this blog, I'm explaining how to convert a string to lower case.
lc.zip
Introduction
In this blog, I am going to share how to convert a string to lower case.
Software Requirements
Turbo C++ OR C.
Programming
#include < stdio.h >
#include < string.h > int main()
{
char
string[1000];
printf(
"Input a string to convert to lower case\n"
);
gets(string);
printf(
"Input string in lower case: \"%s\"\n"
, strlwr(string));
return
0;
}
Explanation:
In the above program, it is clearly understood that strlwr () is used to convert the string to lower case.
Output
Convert String
Lower Case
C
Next Recommended Reading
Concatenate Two Strings Using Binary Operator Overloading