#include <stdio.h>
#include <dos.h>
#include <conio.h>
void main(void)
{
struct dfree diskinfo;
long disk_space;
clrscr();
getdfree(3, &diskinfo);
disk_space = (long) diskinfo.df_avail * (long) diskinfo.df_bsec
* (long) diskinfo.df_sclus;
printf("Available disk space %ld\n", disk_space);
clrscr();
}
Available disk space 215359488
Contact:
Mr. Roshan P. Helonde
Mobile: +91-7276355704
WhatsApp: +91-7276355704
Email: roshanphelonde@rediffmail.com