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

View Answer

Which macro sets everything defined under locale. h?

Options

A : LC_ALL

B : LC_COLLATE

C : LC_SET

D : LC_TIME

View Answer

Select the macro that affects the information provided by localeconv function.

Options

A : LC_ALL

B : LC_COLLATE

C : LC_NUMERIC

D : LC_CTYPE

View Answer

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

View Answer

Which macro is used in the setlocale() function?

Options

A : LC_SET

B : FLT_RADIX 2

C : LC_MESSAGES

D : SHRT_MAX

View Answer

Which macro affects the strftime() function?

Options

A : LC_TIME

B : LC_SEC

C : LC_MIN

D : LC_SET

View Answer

Select the function that reads or sets location dependent information.

Options

A : longjmp()

B : setlocale()

C : assert()

D : toupper()

View Answer

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

View Answer

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

View Answer

LC_COLLATE affects strcoll() and strxfrm() functions.

Options

A : true

B : false

C :

D :

View Answer

Chemical Engineering Basics - Part 1 more Online Exam Quiz

C Interview Date Time Function

C Interview General Utilities

C Interview Mathematical Functions

C Interview String Operations

C Library Multiple Choice

C Multiple Choice Character Handling

C Multiple Choice Conditional Preprocessor Directives

C Multiple Choice Date Time Function

C Multiple Choice Diagnostics

C Multiple Choice Enums