1 2 3 4 5 6 7 8 9 10
#include <stdio.h> #include <cctype> #include <cwctype> int main() { using namespace std; printf("%d ", isdigit('0')); printf("%d ", iswdigit(L'0')); return 0; }