This directive is used to specify diverse options to the compiler. These options…
Preprocessor directives are specific instructions to the compiler given before the…