About sections

I believe
The preprocessor directive gives access to us to use the properties defined in the preprocessor like iostream
In the Declaration statement we declare our variables
In the expression statements we write the code which want to execute. Like adding variables displaying something etc.
The return statement returns some value and also marks the end of the code

1 Like

Welcome to the forums.

Just a bit more about preprocessor directives. There are a number of them, one of which is the #include. The main thing to understand is they direct the compiler towards specific actions and are not executed at runtime. So, when you perform #include <iostream> for example, you’re telling the compiler where to get the information it needs for the iostream library.

Hope you enjoy the course.

Privacy & Terms