Select the correct statement
a | The function declaration is as follows: | |
b | char *setlocale(int category, const char loc). | |
c | a) LC_MONETARY affects the monetary information | |
d | b) LC_MONETARY does not affect the monetary information | |
e | c) LC_ALL does not set everything | |
f | d) LC_CTYPE affects only one character functions | |
Answer: a | ||
Explanation : LC_MONETARY is the macro defined under header file locale.h which affects the monetary information provided by localeconv function. |
Comments
Post a Comment