hello friends,

how to check whether my input is integer or not.

isdigit() check for each character.

i want to check the user input (whatever) is decimal or not.

example,

if user input is 123er34, then the compiler should through error that the input value is not a decimal value.it only accept integer (like 1,2,...9...100.....1000000).

is there any c fn other than isdigit().

give u'r opinions.


thank you.