The following program help us to get the current working drive
#include <stdio.h>
#include <direct.h>
int main(void)
{
printf("Current working drive is %d.\n", _getdrive());
return 0;
}
#include <stdio.h>
#include <direct.h>
int main(void)
{
printf("Current working drive is %d.\n", _getdrive());
return 0;
}
0 comments:
Post a Comment