main function

Applies to: cpp, c, general

The main function is the entry point where many compiled programs start executing.

int main() {
    return 0;
}

See also: function, compiler