Statement C++

My explanation:
Preprocessor Directive: We use this for include other people code so that we can use for our project.
Expression statement: We use this for do our expression such as print in terminal and assign a value to some variables.
Declaration statement: We use this for declare something such as variable.
Return statement: We use this for exit from our function.

1 Like

Preprocessor directives are actually commands for the compiler to follow. The #include is one of these and includes header files typically, and not necessarily other peoples code but definitions for classes and so on that you need to access that may be created by yourself.

Privacy & Terms