C Localization Online Exam Quiz
C Localization GK Quiz. Question and Answers related to C Localization. MCQ (Multiple Choice Questions with answers about C Localization
What is returned by the function localeconv()?
Options
A : current location value
B : past location value
C : pointer to the last location
D : pointer to the current location
Which macro sets everything defined under locale. h?
Options
A : LC_ALL
B : LC_COLLATE
C : LC_SET
D : LC_TIME
Select the macro that affects the information provided by localeconv function.
Options
A : LC_ALL
B : LC_COLLATE
C : LC_NUMERIC
D : LC_CTYPE
Select the correct statement.
Options
A : LC_MONETARY affects the monetary information
B : LC_MONETARY does not affect the monetary information
C : LC_ALL does not set everything
D : LC_CTYPE affects only one character functions
Which macro is used in the setlocale() function?
Options
A : LC_SET
B : FLT_RADIX 2
C : LC_MESSAGES
D : SHRT_MAX
Which macro affects the strftime() function?
Options
A : LC_TIME
B : LC_SEC
C : LC_MIN
D : LC_SET
Select the function that reads or sets location dependent information.
Options
A : longjmp()
B : setlocale()
C : assert()
D : toupper()
Which among the given macros is defined in the header file locale.h?
Options
A : SCHAR_MAX
B : FLT_RADIX 2
C : EDOM
D : LC_CTYPE
Which header file is used to define data formats and currency symbols?
Options
A : setjmp.h
B : locale.h
C : stdarg.h
D : assert.h
LC_COLLATE affects strcoll() and strxfrm() functions.
Options
A : true
B : false
C :
D :
Chemical Engineering Basics - Part 1 more Online Exam Quiz
C Interview Date Time Function
C Interview Mathematical Functions
C Multiple Choice Character Handling
C Multiple Choice Conditional Preprocessor Directives