Google News
logo
CPP - Quiz(MCQ)
Which function is used to check whether a character is a number?
A)
isblank()
B)
isalpha()
C)
isdigit()
D)
isalnum()

Correct Answer :   isdigit()


Explanation : Character classification provides isdigit() function to check whether a character in C++ is number or not.

Advertisement