Question: What is an include guard?

  1. a preprocessor directive that prevents inconsistent behaviors in lines that contain the #ifdef, #ifndef, or #elif directives
  2. a compiler option that prevents the user code from including additional libraries
  3. a preprocessor statement that prevents a source file from being included more than once in a project
  4. a library that adds safety features such as mutexes, watchdog timers, and assertions to the project

Answer: The correct answer of the above question is Option C:a preprocessor statement that prevents a source file from being included more than once in a project