RANA's Blog
Thursday, 12 December 2013
c program to print system time
c program to print system time
#include<stdio.h>
#include<dos.h>
main()
{
struct time t;
gettime(&t);
printf("Current system time is %d : %d : %d\n",t.ti_hour,t.ti_min,t.ti_sec);
return 0;
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment