Hey Guys ,
The Following Code is Just for Displaying time..
Can Someone Tell me what
time_t t does?
and time(&t) means?
And why there is ctime(&t) in printf?
Code:main(){ time_t t; time(&t); printf("Today's date and time : %s",ctime(&t)); }
Hey Guys ,
The Following Code is Just for Displaying time..
Can Someone Tell me what
time_t t does?
and time(&t) means?
And why there is ctime(&t) in printf?
Code:main(){ time_t t; time(&t); printf("Today's date and time : %s",ctime(&t)); }