运行 ❯
建立您
自己的
网站
×
更改方向
更改主题,深色/浅色
前往 Spaces
#include <stdio.h> #include <ctype.h> int main() { char c = 'A'; if (isxdigit(c)) { printf("%c is a hexadecimal digit", c); } else { printf("%c is not a hexadecimal digit", c); } return 0; }
A 是一个十六进制数字