"Main" Code function

I’ll be honest; I was told to explain what the main function does. I have no idea, so I’ll just take a guess; the “Main()” function is going to be the piece of code that gets the program to start running; it will be key to start up all other processes/functions.

Am I right? It was a blind guess, so I hope I got close!

1 Like

Welcome to the Course One. Sorry for the belated reply. I hope you’re enjoying the course.

The main() function is indeed what gets the program running as it is the first function that executes in a C++ application. So yes, you were right.