Previous Page
Next Page


Converts a lowercase alphabetic character to uppercase

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

The tolower( ) function returns the uppercase letter corresponding to the character value of its argument c. If c is not an lowercase letter, or if there is no uppercase letter which corresponds to it, its value is returned unchanged.

The note concerning locales under tolower( ) in this chapter applies to toupper( ) as well.


See the example for setlocale( ) in this chapter.

See Also

isupper( ), tolower( ), islower( ), towupper( ), towlower( ), towctrans( )

Previous Page
Next Page