1.

Which function is used to check whether a character is an alphabet or number?(a) isalpha()(b) isalnum()(c) isdigit()(d) isblank()

Answer» The correct choice is (b) isalnum()

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


Discussion

No Comment Found

Related InterviewSolutions