Initial commit
This commit is contained in:
11
kapitel8/digit-test.c
Normal file
11
kapitel8/digit-test.c
Normal file
@@ -0,0 +1,11 @@
|
||||
#include <stdio.h>
|
||||
#include <ctype.h>
|
||||
|
||||
int main(void)
|
||||
{
|
||||
char chr1 = '9';
|
||||
char chr2 = 'a';
|
||||
printf("chr1: %d\n", isdigit(chr1));
|
||||
printf("chr2: %d\n", isdigit(chr2));
|
||||
return 0;
|
||||
}
|
Reference in New Issue
Block a user