What will be the output of the following C code? #include #include main() { struct tm t; time_t tc; t.tm_year=2017-1900; t.tm_mday=25; t. tm_mon-5; t.tm_hour=1; t.tm_min=30; t. tm_sec=0; t.tm_isdst=0;...


What will be the output of the following C code?<br>#include<stdio.h><br>#include<time.h><br>main()<br>{<br>struct tm t;<br>time_t tc;<br>t.tm_year=2017-1900;<br>t.tm_mday=25;<br>t. tm_mon-5;<br>t.tm_hour=1;<br>t.tm_min=30;<br>t. tm_sec=0;<br>t.tm_isdst=0;<br>tc=mktime (&t);<br>printf(ctime(&tc));<br>

Extracted text: What will be the output of the following C code? #include #include main() { struct tm t; time_t tc; t.tm_year=2017-1900; t.tm_mday=25; t. tm_mon-5; t.tm_hour=1; t.tm_min=30; t. tm_sec=0; t.tm_isdst=0; tc=mktime (&t); printf(ctime(&tc));

Jun 07, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here