main() in C, C++, Java, C#

前端 未结 9 1501
心在旅途
心在旅途 2020-12-11 06:20

Is main() (or Main()) in C, C++, Java or C#, a user-defined function or a built-in function?

9条回答
  •  悲&欢浪女
    2020-12-11 06:42

    It's declaration is built-in. It's definition is user supplied, or in some cases supplied by an application framework that has some other entry point, or in the case of most event-driven GUI frameworks, no single user-defined entry point.

提交回复
热议问题