Q155
What will be the output of the following C code if the current system date is 6/22/2017? #include #include #include typedef struct tm tm; int main() time_t ct; time(&ct); tm *mt=localtime(&ct); printf("%d ",mt-> tm_year);
A.
17
B.
2017
C.
error
D.
117
AnswerAnswer: Option D
Solution
Answer: Option D
No explanation is given for this question Let's Discuss on Board