#include <ctype.h> int islower(int c) c : テストする整数
#include <stdio.h>
#include <ctype.h>
int main()
{
printf("小文字であるか否かのチェック\n");
printf(" A は %d, a は %d\n", islower('A'), islower('a'));
return 0;
}
小文字であるか否かのチェック A は 0, a は 2
| 菅沼ホーム | 本文目次 | 演習問題解答例 | 付録目次 | 索引 |