C toupper()

The toupper() function returns the uppercase equivalent of ch if ch is a letter; otherwise ch is returned unchanged.

toupper() Syntax

Following is the syntax of the toupper() function :

int toupper(int ch);

toupper() Example

Following code displays A :


C Online Test

« Previous Chapter C Tutorial »

Like/Share Us on Facebook 😋