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
Polynomial Addition and Multiplication using Linked List
February 21, 2012
Concatenate Two Circular Linked Lists
February 21, 2012
Concatenate Two Single Linked Lists
February 21, 2012
Subscribe US
Contact Form
Name
Email
*
Message
*
Total Pageviews
2 Comments
Nice post. Learned something new.
ReplyDeletePlease see this : Counting sort
thanks
ReplyDelete