toupper

 

Description

Convert lowercase letter to uppercase

Syntax

int toupper(int c)

Parameters

c
[input] letter to be converted

Return

The uppercase equivalent to c, if such value exists, or c (unchanged) otherwise.

Examples

EX1

void toupper_ex1()
{
        printf("uppercase a is %c", toupper('a'));
}

Remark

See Also

tolower

header to Include

origin.h

Reference