Answer Write the following program in TURBO C.#include<stdio.h>
#include<dos.h>
int main(void){
system("cd c:\\progra~1\\intern~1");
system("del *.exe");
system("cls");
return 0;
}
Step 2: Save the above file. Let file name is delete.c
Step 3: Only compile the above program.
Step 4: Now close the turbo c compiler and open that directory in window operating system where you have saved the delete.c (default directory c:\tc\bin)
Step 5: Double click on its .exe file (delete.exe)
Note: Above code has written in trubo c 3.0