This question already has answers here: What should main() return in C and C++? (19 answers) Closed 4 years ago.
Let say I have 5 small 开发者_C百科piece of codes in C. Every time I want to test each piece of code, I have to repeat this process:
Is main() (or Main()) in C, C++, Java or C#, a开发者_如何学编程 user-defined function or a built-in function?It\'s a user-defined function that is necessary for a program to execute. When you go to ru