Which function is used to check whether a character is a number?

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

1 thought on “Which function is used to check whether a character is a number?”

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

Leave a Comment