c++ language related to functions
If void main is a user defined function the开发者_开发技巧n can we make any change in this user defined function. For eg: can we write/use void main1() in place of main()?
No. The program loader looks for main() as the starting point of a console application (WinMain() for Windows apps).
Yes. Just call main1()
inside main()
.
精彩评论