C++ Program to Convert Lowercase to Uppercase & vice versa
source link: https://www.geeksforgeeks.org/videos/c-program-to-convert-lowercase-to-uppercase-vice-versa/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
C++ Program to Convert Lowercase to Uppercase & vice versa
- 27/06/2022
In this video, we will learn how to convert a string lowercase to uppercase or vice-versa.
Strings are array of characters. The difference between a character array and a string is that the string is terminated with a special character ‘\0’.
Examples: Input : geeksForgEeks Output : GEEKSFORGEEKS Input : HELLO EVERY ONE Output : hello every one
For this we use four different methods: 1.Using ASCII value 2.Using Bit Manipulation 3.Using ToLower() and ToUpper() 4.Using transform method from STL
Apart from that we will see Time and Space complexity of all methods.
Program to convert lowercase to uppercase & vice versa: https://www.geeksforgeeks.org/convert-alternate-characters-string-upper-case/ https://www.geeksforgeeks.org/conversion-whole-string-uppercase-lowercase-using-stl-c/
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK