Vidyalelo
C Programming · Q142

Standard Library Functions

Programming · C Programming · question 142

Q142

What will be the output of the following C code if the current system date is 6/22/2017? #include #include #include int main() time_t ct; time(&ct); struct tm *mt=localtime(&ct); printf("%d ",mt-> tm_date);

A.
22
B.
6
C.
22/6
D.
error
Answer

Answer: Option D

Solution

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