Write down the character test functions and their tests.



Character Test Functions: 

In the following table the required functions and their tests are given.





Function
Test
isalnum(c)
Is c an alphanumeric character?
isalpha(c)
Is c an alphabetic character?
isdigit(c)
Is c a digit?
islower(c)
Is c a lower case letter?
isprint(c)
Is c a printable character?
ispunct(c)
Is c a punctuation mark?
isspace(c)
Is c a white space character?
isupper(c)
Is c an upper case later?

Recommended Recommends

Comments

Contact Us

Loading...