C program to convert uppercase to a lowercase string using ASCII values
kw.c
Output
kodingwindow@kw:~$ gcc kw.c
kodingwindow@kw:~$ ./a.out ——————————————————————————————————————————— Program to convert upper to a lowercase string ——————————————————————————————————————————— Enter the string WELCOME The lowercase string is welcome ——————————————————————————————————————————— kodingwindow@kw:~$
C program to convert uppercase to a lowercase string using tolower() function
kw.c
Output
kodingwindow@kw:~$ gcc kw.c
kodingwindow@kw:~$ ./a.out ——————————————————————————————————————————— Program to convert upper to a lowercase string ——————————————————————————————————————————— Enter the string WELCOME The lowercase string is welcome ——————————————————————————————————————————— kodingwindow@kw:~$
What Next?
C program to reverse a given string
C program to check whether a given string is a palindrome
C Arrays
Advertisement