The following C code results in an error. State whether true or false.
#include#includeint main(){ struct tm *local; time_t t; t=time(NULL); local=asctime(localtime(&t)); printf("%d",local->tm_wday); return 0;}

The following C code results in an error. State whether true or false.

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

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;};