toupper()

Syntax
  #include <ctype.h>
  
  int toupper(int ch);

  
Description

toupper() converts any lower-case character in the range from a to z into an upper-case character from A to Z.

Return

If ch is a lower-case character, returns the corresponding upper-case letter. Otherwise, returns ch (unchanged).

See also

islower()

isupper()

tolower()