C and C++ include several preprocessor directives, which are used to give instructions to the compiler. The preprocessor directives are listed here:
#define
#elif
#else
#endif
#error
#if
#ifdef
#ifndef
#include
#line
#pragma
#undef
Each is discussed briefly in this section.