toupper function — Converts a character to uppercase
int toupper(int c)
The touoper
function
converts lowercase characters to uppercase. If c
is lowercase (that is, islower(c)
returns true), toupper
returns the corresponding
uppercase character (for which isupper
returns true) in the current
locale, if there is such a character. Otherwise, it returns c
.