1. Unit 2:Understand the basic structure of C++ 2. Objectives Evolution of C++ Structure of C++ program• Preprocessor directives• Header files• Main() function•…