Header file used for the function tolower() - ctype.h

Q.  C programming: To use the function tolower(), which of the following header file should be used
- Published on 24 Jun 15

a. string.h
b. conio.h
c. ctype.h
d. None of the mentioned

ANSWER: ctype.h
 
The ctype.h header file is used for character handling functions. It is further divided into several header files. The tolower() is a character case mapping function converts to lowercase.

Post your comment / Share knowledge


Enter the code shown above:
 
(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)