Register Now

Login

Lost Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Which function is used to check whether a character is an alphabet or number?

a) isalpha()
b) isalnum()
c) isdigit()
d) isblank()

Answer: b
Explanation: Character classification provides isalnum() function to check whether a character in C++ is alphabet or number.

Join The Discussion