InterviewSolution
Saved Bookmarks
| 1. |
Which among the given macros is defined in the header file locale.h?(a) SCHAR_MAX(b) FLT_RADIX 2(c) EDOM(d) LC_CTYPEThe question was asked at a job interview.This interesting question is from Localization topic in chapter C Library of C |
|
Answer» CORRECT answer is (d) LC_CTYPE Easiest explanation - LC_CTYPE is the macro defined under header file locale.h. This macro AFFECTS all CHARACTER FUNCTIONS. |
|