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?

Author: Tanmay Chakrabarty

Tanmay Chakrabarty is a former CSE student, currently working as a Senior Software Engineer with 5+ years of experience in the field of Web Application development in PHP+MySQL platform with strong skills in Javascript, JQuery, JQuery UI and CSS. He tries to write notes every week but fails due to heavy loads of duty.

Recommended Recommends

Comments

Contact Us