Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

c++ char it is a number

#include<ctype.h>
--------
char c = '1';
bool result = isdigit(c);
if(result)
	cout << "Yes, it is digit" << endl;
else
	cout << "No, it is't digit" << endl;
 
PREVIOUS NEXT
Tagged: #char #number
ADD COMMENT
Topic
Name
4+1 =