Answers for "c++ test is char is number"

C++
0

c++ check if char is number

char c = '1';
bool result = isdigit(c);
cout << result << endl; //1
Posted by: Guest on September-05-2020

Browse Popular Code Answers by Language