answersLogoWhite

0

That's up to you, but the execution of the program begins with function main.

User Avatar

Wiki User

16y ago

What else can I help you with?

Related Questions

Where does c language program begin execution?

The execution of the program starts with function main, wherever it is in the source.


What is the function of void main in c language?

Actually, it is:int main (void)orint main (int, char **)the point where the execution of the program begins


What function does every C program have Why should you split large programs into several functions?

Every C program has a main() function.


Where do we write main function in a c program?

Into the source program.


What must every c program have?

A main function must be present in every C program.


What is main function used in c?

if you do not used main function in c program when errors are accrued


What are its program components?

the main() function,the#include Directive, the variable definition. function prototype, program statements, the function definition,program comments and braces are the components of program in C++


What is the function of program in c?

Whatever the programmer wants it to be.


Write a program in C without any functions?

It is not possible. In C, any program must have at least one function to be able to compile and execute properly: the function main()


What is the only function all C plus plus programs must contain?

Every C plus plus program that is a main program must have the function 'main'.


Can a function be called from more than one place in a program in c plus plus?

In C and C++, as well as in many (all?) languages, a function can be called from more than one place in a program. That's the purpose of functions - to encapsulate pieces of code that are needed in more than one place in the program.


Explain the structure of c program with an suitable example?

Basic structure of a C program is /* Documentation section */ /* Link section */ /* Definition section */ /* Global declaretion section */ /* Function section */ (return type) (function name) (arguments...) void main() { Declaration part Executable part (statements) } /* Sub-program section */ (return type) (function name 1) (arguments...) (return type) (function name 2) (arguments...) . . . (return type) (function name n) (arguments...) Basic structure of a C program is /* Documentation section */ /* Link section */ /* Definition section */ /* Global declaretion section */ /* Function section */ (return type) (function name) (arguments...) void main() { Declaration part Executable part (statements) } /* Sub-program section */ (return type) (function name 1) (arguments...) (return type) (function name 2) (arguments...) . . . (return type) (function name n) (arguments...)