answersLogoWhite

0

Register the function(s) containing the code with atexit.

User Avatar

Wiki User

9y ago

What else can I help you with?

Related Questions

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


What are three main types of language translators?

The three main types of language translators are compilers, interpreters, and assemblers. Compilers translate the entire source code into machine code before execution, interpreters execute code line by line, and assemblers translate assembly language code into machine code.


What is the main limitation for machine code and assembler language?

Platform-dependent.


What are three main ways animals communicate?

Body Language, smell, open v.s closed communication


Why do you write void to the first of main in c?

This is really unclear. If you're asking why you should write void main() then the answer is that you shouldn't. main can return an int as an error code, so it's better to do int main() instead.


What Machine language is an example of a high-level language.?

There is no program that can translate machine code to a high-level language. The best you can do is disassemble the code. This produces code that is similar to assembly language, but which lacks variable names and comments. Even a skilled programmer will need to spend hours disentangling the code in order to make it readable -- but you can never restore the code back to its original source code, no matter what language it was written in.


How do you write all c language code in one line?

Simply don't use Enter key. (You cannot use preprocessor though.) int main (void) { puts ("All in one line"); return 0; }


Is a programming software the same as programming tool?

To use an analogy, a programming language is similar to any natural language such as English. We use the language to construct expressions which can be combined to form statements, just as we use English to construct expressions which can be combined to form sentences. Programming tools are simply tools that help us to write code, in much the same way that word processors help us to write letters. In programming, the main tools we use are code editors, compilers and debuggers. But just as a spell-checker won't help us write better poetry, programming tools won't help us write better programs. For that we must understand the language itself.


Not only did Chaucer write in English which was unusual for the time but he wrote in the of?

it was considered unusual for Chaucer to write in English, as the main language being spoken in England by the royalty was French. English was considered the language of the poor


Explain you how you can impliment programme in c language without main function?

You can't. If you have no main function, then there is no entry point to your code and it cannot be executed. Code without a main function is essentially a library. In MS Windows, GUI mode, you don't have to have main function. (WinMain is used instead).


What are the advantages and disadvantages of writing programs in high level languages?

The main advantage is of course convenience - it is much easier to write\read code in a high-level language. The main disadvantage is the performance - in general, if you write the same program in a high-level language and in a low-level language, the first will usually take more time. It can make a difference if your program is very heavy, or if performance is very important (e.g. you're writing an operating system), but for most normal programs I would recommend using a high-level program, and python is a great example of one!


Does Ghana write the same language that they speak?

The main language that appears in written form is English. Most other languages of Ghana are not commonly written, with the exception of some of the larger language groups, such as Akan.