Question on ctype
I'm writing some code that can identify whether the word entered is digit, alpha or not. I think I need to use isdigit and isalpha to do it, but I'm not sure about which group some characters belong to.
For example, I need to fix those words:
s?ail
rab%it
Please tell me how to identify "?, %, #". Are they alpha?
Thank you very much.
For example, I need to fix those words:
s?ail
rab%it
Please tell me how to identify "?, %, #". Are they alpha?
Thank you very much.
