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