C Tutorial/ctype.h/toupper

Материал из C\C++ эксперт
Версия от 13:32, 25 мая 2010; Admin (обсуждение | вклад) (1 версия: Импорт контента...)
(разн.) ← Предыдущая | Текущая версия (разн.) | Следующая → (разн.)
Перейти к: навигация, поиск

toupper

Item Value Header file ctype.h Declaration int toupper(int ch); Function returns the uppercase equivalent of ch if ch is a letter or ch is returned unchanged.


<source lang="cpp">#include <ctype.h>

  1. include <stdio.h>

int main(void){

 putchar(toupper("a"));

}</source>