Convert Uppercase and Lowercase Characters C Program

By | December 9, 2015

C Program To Convert Uppercase and Lowercase Characters

Learn How to Convert Uppercase and Lowercase Characters in C Programming Language. We have used two Methods for Character conversion. The First method uses Library Function tolower() and toupper() whereas the Second method deals with conversion of ASCII values of the characters.

Also Read: C Program To Find if a Character is Lowercase or Uppercase

The First method consists of Built-In Library Functions such as tolower() and toupper() which are declared under <ctype.h> Header file. The Second Method checks Characters for its Case by using ASCII Values.

Method 1: C Program To Convert Uppercase and Lowercase Characters using Library Function

 

Method 2: C Program To Convert Characters using ASCII Values

Also Read: C Program Code To Check Character is Alphabet or Digit

 

Output

C Program To Convert Uppercase and Lowercase Characters

Also Read: C Program To Check ASCII Values and Character

If you have any compilation errors or doubts in this C Program To Convert Lowercase and Uppercase Letters using ASCII Values, let us know about in the Comment Section below.

Let's Discuss