Answers for "how check whether a char is a digit or not cpp"

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

Code answers related to "how check whether a char is a digit or not cpp"

Browse Popular Code Answers by Language