In this video tutorial lets look at using #pragma preprocessor directive. #pragma Directive #pragma is a special purpose directive which…