Explain Code

So the preprocesser directive “#include ” includes the code from the header file in my code so it can be used.
The main function is required for every code and states for the compiler the main section of code.
The expression statements, have an expression, for example a line of text that’s printed, and end with a semicolon.
The declaration statements are lines of code that something is declared in, for example a variable is defined.
The return statement means that the code ends once it is run.

1 Like

Looking good. How are you feeling with C++?

Privacy & Terms