Home
About
Disclaimer
Privacy Policy
Contact Us
HOME
BASIC C
ADVANCE C
DATA STRUCTURES
GUEST POST
Home
DOS Functions
getdate
getdate
December 25, 2011
/*
Write a program in C for getdate dos function
*/
#include<stdio.h>
#include<dos.h>
main()
{
struct date d;
getdate(&d);
printf("Current system date is %d/%d/%d\n",d.da_day,d.da_mon,d.da_year);
return 0;
}
Post a Comment
2 Comments
Mantu Kumar
January 15, 2015 at 11:03 PM
Nice post. Learned something new.
Please see this :
Counting sort
Reply
Delete
Replies
Reply
SDK
September 19, 2019 at 10:14 AM
thanks
Reply
Delete
Replies
Reply
Add comment
Load more...
Followers
Basic C
Star Patterns
Number Patterns
Alphabet Pattern
Matrix Programs
File Handling
Advance C
Math Functions
Graphics in C
DOS Functions
Special Programs
Stdlib Functions
Conio Functions
Trace the output
Interview Q&A
Projects in C
Data Structures
Array
Linked List
Stack
Queue
Search Algorithm
Popular Posts
Subscribe US
Contact Form
Name
Email
*
Message
*
Total Pageviews
2 Comments
Nice post. Learned something new.
ReplyDeletePlease see this : Counting sort
thanks
ReplyDelete