toupper : toupper « ctype.h « C Tutorial






ItemValue
Header filectype.h
Declarationint toupper(int ch);
Functionreturns the uppercase equivalent of ch if ch is a letter or ch is returned unchanged.


#include <ctype.h>
#include <stdio.h>

int main(void){
  putchar(toupper('a'));
}
A








18.14.toupper
18.14.1.toupper