Is there a function in C to check if the input is an int, long int, or float? I know C has an isdigit() function, and I
int
long int
float
isdigit()
int isnumeric( char *str ) { double d; return sscanf(str, "%lf", &d); }