Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Contribute
Article
Blog
Video
Ebook
Interview Question
Collapse
Feed
Dashboard
Wallet
Learn
Achievements
Network
Rewards
SharpGPT
Premium
Contribute
Article
Blog
Video
Ebook
Interview Question
Register
Login
Convert a String To Lower Case
WhatsApp
Shobana J
8y
9.6
k
0
1
25
Blog
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
C
Convert String
Lower Case
Up Next
Concatenate Two Strings Using Binary Operator Overloading
Ebook Download
View all
Printing in C# Made Easy
Read by 22.3k people
Download Now!
Learn
View all
Membership not found