Which standard header declares character functions such as isdigit() and toupper()?
Correct answer B. <ctype.h>
Explanation
declares the character classification functions (isalpha, isdigit, isspace and others) and the conversions toupper and tolower. handles strings and memory blocks, not single characters. The ctype functions take an int that must be representable as unsigned char or equal EOF, so a plain char should be cast to unsigned char first.
Answer checked How we write and check questions
Discussion