Why there is always main function in C?

  architecture, c++

When writing code using C, the code must include the main function. I always had a question about this. In the case of Python or JavaScript, the main function is not required. However, in the case of C, why should I include the main function?

Does this improve performance?

Or is it just to distinguish between the main part and the other part?

I’d appreciate it if you could explain the reason.

Source: Windows Questions C++

LEAVE A COMMENT