C Multiple Choice Date Time Function Online Exam Quiz

C Multiple Choice Date Time Function GK Quiz. Question and Answers related to C Multiple Choice Date Time Function. MCQ (Multiple Choice Questions with answers about C Multiple Choice Date Time Function

Which of the following format specifiers is used to represent the name of the time zone?

Options

A : %A

B : %B

C : %H

D : %Z

View Answer

The value of tm_isdst is ____ when DST( Daylight Savings Time) is in effect, ______ when DST is not in effect and ______ when the DST status is unknown.

Options

A : -1, 1, 0

B : 1, 0, -1

C : 0, 1, -1

D : 1, -1, 0

View Answer

Which of the following functions is used to convert the date and time into a calendar format?

Options

A : difftime()

B : clock()

C : mktime()

D : ctime()

View Answer

Which of the following library functions is used to read location dependent information?

Options

A : localtime()

B : localeconv()

C : localcon()

D : local()

View Answer

The library function clock() returns the number of _________ elapsed since the start of the program.

Options

A : minutes

B : clock ticks

C : milli-seconds

D : micro-seconds

View Answer

Chemical Engineering Basics - Part 1 more Online Exam Quiz

C Interview String Operations

C Library Multiple Choice

C Localization

C Multiple Choice Character Handling

C Multiple Choice Conditional Preprocessor Directives

C Multiple Choice Diagnostics

C Multiple Choice Enums

C Multiple Choice File Operations

C Multiple Choice General Utilities

C Multiple Choice Implementation Defined Limits