What my understanding of main() is

Hello everyone! Starting this program off and thought I would go out of my comfort zone as suggested and throw my thoughts out there as to what I understand main() is.

main() is reserved function name, used as the entry/starting point to begin the execution of your code.

Once the code is compiled and is then run, the main() function is inherently the first function run, and begins executing the included statements/code contained within the main() definition ‘{…}’.

Privacy & Terms