answersLogoWhite

0


Best Answer

main refers to the entry point of an application. All programs must have a main() function that returns an integer to the calling program or script. The return value can be used for any purpose, but generally a non-zero negative value is used to indicate that an error occurred (zero meaning no error).

User Avatar

Wiki User

12y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

7y ago

This is the function that the programs begins execution when it starts.

A computer program needs to specify the location where execution of the program is to begin. Assembler languages generally allow specification of an entry point for a program. High level languages use as a starting point the only program or program file that is not specified as a subroutine, function, or subprogram. Since all code in C is a function or subroutine, the way to specify the starting entry point of an executable is by using the name "main".

When the "main" module is combined with other modules and library entries using link, ld, bind, iewl, or whatever the systems calls its linking utility, the created program (executable or load module) will have the routine labeled "main" marked as its starting entry point.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What significance is attached to the name main?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is the name of the part that main sails are attached?

a mast


What is the name of A building that is attached to a main building?

Annexe


What significant is attached to the name main in c language?

famous


What is the significance that the characters have no name in Jack London's to build a fire story?

There is great significance in the fact that the main character has no name in To Build a Fire. This is so that the reader can relate.


What is significant about the fact that the main character in to build a fire has no name?

There is great significance in the fact that the main character has no name in To Build a Fire. This is so that the reader can relate.


What is the significance of the name Mercury?

mercury what is the significance of the name


What is the name of the state not attached to the main land of Australia?

This is the state of Tasmania. It is separated from the mainland by Bass Strait.


What is the significance of the study of cigarette smoking?

what is the main significance of the study on smoking?


What is the significance of the name Backstreet Boys?

There is no significance. It is a random name.


What is name of the stick which the main sail of the boat is attached?

The vertical "stick" is the mast and the horizontal "stick" is called the boom.


What is the significance of Jem's name?

There is no significance with Jem's name, its just short for Jeremy :)


How the flower is attached to stem?

The flower is attached to the stem by the radical.