I have recently encountered a problem in which I had a string array inputted by the argv[] to check if it is a whole number or not.
I tried to use isdigit(). However, it returns "20x" as a whole number. I searched a lot, but could not find anything helpful for C language.
Thank you in advance!