?
The following C code results in an error. State whether true or false.
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;
}
#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;
}
Join the Discussion
Login to post a comment or share your explanation.
Login