This function is used to create the beginning of what you want to execute
1 Like
That’s pretty much it. In C++ and even in the original C, main() is the first function to get executed in a program.