answersLogoWhite

0

After main()

User Avatar

Wiki User

12y ago

What else can I help you with?

Related Questions

What is the sequnce to writing tha c program?

Writing the source(s).Compilation and linkage.Execution.


Missing semicolon in c program is a compile time error?

It's a syntax error, which is detected during compilation, yes.


How can you turn a C plus plus program into a dot exe to run on a PC without a compiler?

To make C++ code into an executable program, you need a compiler. Compilation of a program doesn't have to be on the same computer as the one it's intended to be used on.


What is execution of program?

Exec. Of program is the compilation of document or the run of a type program.


How do you compile a program in jre?

You don't. It's the program "javac" that does the compilation.


Can you have two mains in a c program?

No you can't. main() is the entry point of a C program where execution starts. Only a single main() can exist in a C program. A program with 2 mains wil not even compile successfully.


Does compilation is a fast process?

If your program is short then yes.


Why we have to compile a c program?

Programming Languages are a form of comunication between a programmer and the hardware. So the code written in C has to be compiled/transformed into machine code (similar to Assembler) so that the hardware can understand what to do. Compilation leaves your code ready to excecute. Withought it you only have the recipe of what the program does.


What is compilation in c plus plus?

Compilation is the process of translating source files into object files.


What are the two parts of compilation?

1) source program to object program 2)object program to object program output


What are the programs that are executing during compilation in c?

The only program that executes during compilation is the compiler. The compiler produces one object file for each translation unit compiled. When all translation units are compiled, the object files can then be linked together by executing the linker.


Why c program starts from main?

The c program starts with 'main' function because it's compiler is designed that way. so during the compile time, the compiler looks for main function and through that it binds all the other user defined functions.