What does main() function means to me

I think the function of the main() is to make all the written code work.

1 Like

Hi and welcome to the community. I hope you’re enjoying the course.

What you said is basically right. The key thing is the main function is the first function to execute in any program so controls the program by executing the code within it and also calling other functions.

Good luck with the rest of the course

Privacy & Terms