Multiple choice

The directives for the pre-processors begin with

  1. ampersand symbol (&)

  2. two slashes (//)

  3. hash symbol ( # )

  4. less than symbol ( < )

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

Preprocessor directives in C++ always begin with a hash symbol (#). Examples include #include for header files, #define for macros, and #ifdef for conditional compilation. The preprocessor processes these directives before actual compilation. Double slashes (//) are for single-line comments, ampersand (&) is the address-of operator, and less-than (<) is a comparison operator or used in include statements.