Multiple choice technology programming languages

The notation for preprocessor directive is :

  1. $
  2. !

  3. @

  4. #

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

In C and C++, preprocessor directives always begin with the # symbol. This includes directives like #include, #define, #ifdef, #ifndef, #endif, etc. The preprocessor processes these directives before actual compilation begins. Options A ($), B (!), and C (@) are operators in C/C++, not preprocessor symbols.