In this video tutorial, lets see how we can make use of #error preprocessor command or directive. Where Is It…