C programming examples with output
Print Date
Program
#include<stdio.h>
#include<conio.h>
#include<dos.h>
int main()
{
struct date d;
getdate(&d);
printf("Current system date is %d%d/%d,d.da_day,d.da_mon,da_year);
getch();
return 0;
}
Print Date
Program
#include<stdio.h>
#include<conio.h>
#include<dos.h>
int main()
{
struct date d;
getdate(&d);
printf("Current system date is %d%d/%d,d.da_day,d.da_mon,da_year);
getch();
return 0;
}
0 komentar:
Post a Comment