answersLogoWhite

0


Best Answer

Use function unlink to erase files.

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you write c program to delete source code after execution?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Write a program in Lex to eliminate white space and collect numbers as a token?

write a lex program to delete space from the program


Where do we write main function in a c program?

Into the source program.


What is javadoc?

write a java program to display "Welcome Java" and list its execution steps.


In c language what is source program?

Source program or source code in any language is the code you write to make the program do what you want. Things like: #include <stdio.h> void main (); and so on are all pieces of source-code or source program


Write a shell program to delete all the files in the current directory?

in winxp del *.* /Q /S


Which language is used to write a source program in computer?

There are so many programming languages that it is impossible to tell without actually seeing the source program in question.


Are NET Programs open-source?

While you can write a .NET program and release the source code, there is no requirement to do so.


What is program data dependence?

Program data dependence refers to the coupling of data stored in files and the specific programs required to update and maintain those files such that changes in programs require changes to the data. In a tradition file environment, any change in a software program could require a change in the data accessed by that program.


How do you change source code into machine code?

A program called a compiler, or sometimes an assembler (depending on the programming language) does this for you. You write the source code, then invoke the program that will convert this into machine language.


Programming process of c language?

Write the source program. Compile. Link executable. Run it.


What are the permissions of a new text file?

Read,Write and Execution permissions. r- Read w- Write x- Execution


What does runtime mean?

actually the run time means at the time of executing the program. that means if you write a program and you compile it and you need to execute then during the compilation it is called compile time and during the execution it is called run time .