main functionApplies to: cpp, c, generalThe main function is the entry point where many compiled programs start executing. int main() { return 0; } See also: function, compiler