Algorithms C programming language
C: convert string to lowercase and uppercase
Introduction
Today we will see how to convert a string in C to uppercase. We will also see how to convert a string to lowercase. That is, to convert something like “Hello World” to “hello world”. Or something like “Good night” to “GOOD NIGHT”.
For this we will use some functions that the standard library has: tolower
and toupper
.