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