9 lines
134 B
C
9 lines
134 B
C
|
#include <stdio.h>
|
||
|
#include <direct.h>
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
printf( "The current drive is %c\n",
|
||
|
'A' + _getdrive() - 1 );
|
||
|
}
|