Vidyalelo
C Programming · Q151

Standard Library Functions

Programming · C Programming · question 151

Q151

What is the meaning of the following C code if output is 0? #include #include int main() struct tm *local; time_t t; t=time(NULL); local=localtime(&t); printf("%d",local->tm_isdst); return 0;

A.
DST is in effect
B.
DST status is unknown
C.
DST is not in effect
Answer
D.
DST is corresponding with local time

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board