1.

Select the macro that affects the information provided by localeconv function.(a) LC_ALL(b) LC_COLLATE(c) LC_NUMERIC(d) LC_CTYPEThe question was posed to me in a national level competition.This interesting question is from Localization in chapter C Library of C

Answer»

Right choice is (C) LC_NUMERIC

The EXPLANATION: LC_NUMERIC is the macro defined under the HEADER FILE locale.h which affects decimal point formatting and INFORMATIONS provided by localeconv function.



Discussion

No Comment Found

Related InterviewSolutions