Main Function

main">

In many programming languages, the main function is where a program starts execution. It is responsible for the high-level organization of the program's functionality, and typically has access to the command arguments given to the program when it was executed. Thus main is very important to run your code.

The main function is generally the first programmer-written function run when a program starts, and is invoked directly from the system-specific initialization contained in crt0 or equivalent. However, some languages can execute user-written functions before main runs, such as the constructors of C++ global objects.

Other articles related to "main function":

Main Function - Variants - AHLSL
... In AIGE's AHLSL, the main function, by default, is defined as. ...
Lawyers In Poland
... all trials involving the Treasury at central courts, advocate (Polish adwokat), whose main function is to provide legal assistance, prepare legal opinions and drafts of legislative acts, and ... occupations include inter alia tax advisor (Polish doradca podatkowy), whose main function is to advise persons in tax matters, represent them before courts and State authorities in tax matters and ...

Famous quotes containing the words function and/or main:

    Philosophical questions are not by their nature insoluble. They are, indeed, radically different from scientific questions, because they concern the implications and other interrelations of ideas, not the order of physical events; their answers are interpretations instead of factual reports, and their function is to increase not our knowledge of nature, but our understanding of what we know.
    Susanne K. Langer (1895–1985)

    The aphorism wants to be at the same time both main line and off beat.
    Mason Cooley (b. 1927)