Which header declares several functions useful for testing and mapping characters?

Category: QuestionsWhich header declares several functions useful for testing and mapping characters?
Editor">Editor Staff asked 11 months ago

Which header declares several functions useful for testing and mapping characters?
 
(a) assert.h
 
(b) stdio.h
 
(c) ctype.h
 
(d) errno.h
 
This question was posed to me by my college director while I was bunking the class.
 
Enquiry is from Character Handling topic in portion String Operations in C of C
NCERT Solutions for Subject Computer science (C Programming) Select the correct answer from above options 
Interview Questions and Answers, Database Interview Questions and Answers for Freshers and Experience

1 Answers
Editor">Editor Staff answered 11 months ago

Correct answer is (c) ctype.h
 
Easiest explanation – The header <ctype.h> declares several functions useful for testing and mapping characters.