トップページ > キーワード検索 > tolower()
C言語規格
C言語(その他)
プログラム
その他
tolower()
機能 英大文字を英小文字に変換することを表す。
指定された文字が英大文字で無い場合は変換せずに返す。
定義 #include <ctype.h>

int tolower ( int c );
引数
c変換する文字
戻り値 変換した文字を返す。
実装例
#include <ctype.h>
#include <stdio.h>

int main(void)
{
    printf("%c\n", tolower('A'));
    
    return 0;
}
実行結果
a





inserted by FC2 system