知乎,中文互联网高质量的问答社区和创作者聚集的原创内容平台,于 2011 年 1 月正式上线,以「让人们更好的分享知识、经验和见解,找到自己的解答」为品牌使命。知乎凭借认真、专业、友善的社区氛围、独特的产品机制以及结构化和易获得的优质内容,聚集了中文互联网科技、商业、影视、时尚、文化等领域最具创造力的人群,已成为综合性、全品类、在诸多领域 ... If you want examples of main () calling main (), here are plenty: ioccc.org It's the website of the International Obfuscated C Code Contest, and folding everything into a single function called main is an effective obfuscation technique. The Python approach to " main " is almost unique to the language ("). The semantics are a bit subtle. The __name__ identifier is bound to the name of any module as it's being imported. However, when a file is being executed then __name__ is set to "__main__" (the literal string: __main__). This is almost always used to separate the portion of code which should be executed from the portions of code which define functionality. So Python code often contains a line like: #!/usr/bin/env python from ... The interesting part is "with no parameters". int main () and int main (void) are currently equivalent, since they are both function declarators and have no parameters. The following applies (6.7.6.3 ): 10 The special case of an unnamed parameter of type void as the only item in the list specifies that the function has no parameters. /--/