1.

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.(a) -1, 1, 0(b) 1, 0, -1(c) 0, 1, -1(d) 1, -1, 0The question was asked during an interview.The question is from Date and Time Function topic in division C Library of C

Answer»

Correct answer is (B) 1, 0, -1

Best explanation: The VALUE of tm_isdst is 1 when DAYLIGHT Savings Time is in EFFECT, 0 when DSP is not in the effect and -1 when DST status is not known.



Discussion

No Comment Found

Related InterviewSolutions