December 2005
Beginner to intermediate
618 pages
20h 19m
English
toupper
Converts a lowercase alphabetic character to uppercase
#include <ctype.h> inttoupper( intc);
The toupper() 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.
isupper(), tolower(), islower(), towupper(), towlower(), towctrans()
Read now
Unlock full access