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

What is the meaning of the following C code if output is 0?

#include<stdio.h>#include<time.h>int main(){ struct tm *local; time_t t; t=time(NULL); local=localtime(&t); printf("%d",local->tm_isdst); return 0;}
Correct Answer DST is not in effect

Related Questions

Which of the following will stop the loop at the last node of a linked list in the following C code snippet?
struct node{ struct node *next;};